This tutorial integrates Vue.js and django into one application, with Vue.js handling frontend logic and django managing backend reponses.
pip install -r requirements.txt
npm install
./node_modules/.bin/webpack
python manage.py runserver
For a detailed tutorial, checkout this wiki.
Sometimes you might not need a whole frontend application. Maybe you just Vue.js to improve functionality on your existing app To checkout the no webpack example
git clone --single-branch --branch no_webpack https://github.com/michaelbukachi/django-vuejs-tutorial.git
(You can also clone the repo normal way and checkout the no_webpack branch)pip install -r requirements.txt
python manage.py runserver
If you are done with the tutorial and you feel like you need to know more about Django and VueJs, then check out this comprehensive course. It includes web sockets, celery, authentication and a lot more!