vuejs and Django integration with hot code reload. Dont use this, use https://github.com/NdagiStanley/vue-django or https://github.com/gtalarico/django-vue-template
This is a boilerplate project for using vuejs with Django.
./backend
./frontend
These steps will install all required dependencies including development ones, run migrations and start dev server.
make dev
make migrate
make run
These steps will install production dependencies and build vuejs application to static/dist
folder.
make prod
make build
For the sake of simplicity Django config is contained within its own backend app. In real world setting you would
probably want to remove backend
from INSTALLED_APPS
, create a new app and move backend.views
to it.
You probably want to create python virtual environment as well. Default python instance available will be used.