A Vue.js and Django example
This repo goes along with the first part series of a blogpost I wrote some time ago on how to effectively setup a project that's easy to develop and deploy using Django, Vue and webpack.
yarn install python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
- On one terminal run your webpack dev server
npm run dev
- On another terminal launch the Django application
python manage.py runserver
And point your browser to http://localhost:8000, but test that you can also access the pure Django world, for example by going to the admin panel http://localhost:8000/admin
# run unit tests npm run unit # run e2e tests npm run e2e # run all tests npm test