django-vuejs-tutorial:将Vue.js与django集成的教程

时间:2021-02-04 23:49:05
【文件属性】:
文件名称:django-vuejs-tutorial:将Vue.js与django集成的教程
文件大小:276KB
文件格式:ZIP
更新时间:2021-02-04 23:49:05
python vuejs django webpack2 DjangoPython django-vuejs教程 本教程将Vue.js和django集成到一个应用程序中,其中Vue.js处理前端逻辑,而django管理后端响应。 安装 克隆仓库 运行pip install -r requirements.txt 运行npm install 运行./node_modules/.bin/webpack 运行python manage.py runserver 有关详细的教程,请查看此 。 没有Webpack设置 有时您可能不需要整个前端应用程序。 也许您只是Vue.js来改善现有应用程序的功能要查看no webpack示例 脚步: 使用git clone --singl
【文件预览】:
django-vuejs-tutorial-master
----.gitignore(75B)
----.babelrc(90B)
----package.json(1KB)
----requirements.txt(44B)
----package-lock.json(317KB)
----webpack.config.js(851B)
----.travis.yml(920B)
----assets()
--------js()
--------bundles()
----README.md(1KB)
----pytest.ini(56B)
----wait-for-it.sh(4KB)
----myapp()
--------templates()
--------__init__.py(0B)
--------views.py(26B)
--------models.py(27B)
--------apps.py(85B)
--------admin.py(29B)
--------migrations()
--------tests.py(26B)
----my_django_vue()
--------urls.py(825B)
--------__init__.py(0B)
--------wsgi.py(404B)
--------settings.py(3KB)
----manage.py(811B)
----test()
--------conftest.py(562B)
--------test_page.py(174B)
--------__init__.py(0B)

网友评论