项目
在 GitHub 查看
michaelbukachi/django-vuejs-tutorial
关于
A tutorial to integrate Vue.js with django
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文django-vuejs-tutorial
This tutorial integrates Vue.js and django into one application, with Vue.js handling frontend logic and django managing backend reponses.
Installation
- Clone the repo
- Run
pip install -r requirements.txt - Run
npm install - Run
./node_modules/.bin/webpack - Run
python manage.py runserver
For a detailed tutorial, checkout this wiki.
No Webpack setup
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
Steps:
- Clone the repo with
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) - Run
pip install -r requirements.txt - Run
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!
探索相关项目
加载中…