File tree Expand file tree Collapse file tree 2 files changed +50
-10
lines changed Expand file tree Collapse file tree 2 files changed +50
-10
lines changed Original file line number Diff line number Diff line change 1+ # django-with-vuejs
2+ FAST AND CLEAR IN DevOps.
3+
4+ [ English README.md] ( /README-zh.md )
5+
6+ 项目是最简版
7+
8+ ---
9+ ### Step 1: 装前端依赖
10+
11+ 在 package.json 文件所在目录
12+ ```
13+ npm install
14+ ```
15+
16+ ### Step 2: 构建前端
17+
18+ 在 frontend 目录
19+ ```
20+ npm run build
21+ ```
22+
23+ ### Step 3: 通过Django 自带server启动项目
24+
25+ In the directory where manage.py is located
26+ ```
27+ python manage runserver
28+ ```
29+ ---
30+ # 更详细的教程
31+ 这里: https://zhuanlan.zhihu.com/p/24893786
32+
33+ 有问题?[ New issues] ( https://github.com/tmpbook/django-with-vuejs/issues/new )
Original file line number Diff line number Diff line change 11# django-with-vuejs
22FAST AND CLEAR IN DevOps.
33
4+ [ 中文 README.md] ( /README-zh.md )
5+
46This item is the most simplified version
5- Step 1: Install front end dependencies
67
7- # In the directory where the package.json file is located
8+ ### Step 1: Install front end dependencies
9+
10+ In the directory where the package.json file is located
11+ ```
812npm install
13+ ```
914
10- Step 2: Build the front end
15+ ### Step 2: Build the front end
1116
12- # In the frontend directory
17+ In the frontend directory
18+ ```
1319npm run build
20+ ```
1421
15- Step 3: Start the project with Django's own server
22+ ### Step 3: Start the project with Django's own server
1623
17- # In the directory where manage.py is located
24+ In the directory where manage.py is located
25+ ```
1826python manage runserver
27+ ```
1928
20- More detailed tutorials
21-
22- Here: https://zhuanlan.zhihu.com/p/24893786
29+ Have questions to mention:
2330
24- Have questions to mention
31+ [ New issues ] ( https://github.com/tmpbook/django-with-vuejs/issues/new )
You can’t perform that action at this time.
0 commit comments