How to use Vue with Django (including Auth) 🔒
19min 29s
30 juin 2024

Description
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app. We'll also add auth 🔒 Simple and robust. No tokens, no DRF, no JWT. I'll also show you 5 things that you'll always want to add, including: 1. Page routing (using Vue Router) 2. Simple centralised state management (using Pinia) 3. Persistent state (e.g., refreshing the page and still being logged in) using simple local storage 4. How to register new users, with Vue and Django 5. Secure and simple auth. No tokens, no DRF. ✍️ Wriitten guide here: https://www.photondesigner.com/articles/vue-auth 📮 Get all my free weekly content here: https://www.photondesigner.com/#signup-form