https://github.com/coreybutler/nvm-windows/releases/tag/1.1.7
Django安装包
# 解决跨域问题
pip install django-cors-headers
pip install djangorestframework
pip install pyjwt
Vue安装包
主要:
npm install vue-router
npm install node-sass@4.12.0 --save-dev
npm install sass-loader@7.0.3 --save-dev
npm install babel-plugin-component --save-dev
npm install vuex --save
npm install axios --save
npm install element-ui@2.12.0 --save
npm install vant --save
npm install echarts --save
总和:
npm install django-cors-headers --save
npm install -g @vue/cli
npm install vue-router
npm install node-sass@4.12.0 --save-dev
npm install sass-loader@7.0.3 --save-dev
npm install vant --save
npm install element-ui@2.12.0 --save
npm install babel-plugin-component --save-dev
npm install vuex --save
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
npm install --save-dev better-scroller
补充:
pip freeze > requirement.txt
Django==2.2.3
django-cors-headers==3.1.1
django-filter==2.2.0
django-shortuuidfield==0.1.3
djangorestframework==3.10.1
mysqlclient==1.4.2
pycryptodomex==3.7.2
Pygments==2.4.2
PyJWT==1.7.1
PyMySQL==0.9.3
python-alipay-sdk==1.10.1
python-memcached==1.59
pytz==2019.1
shortuuid==0.5.0
six==1.12.0
sqlparse==0.3.0
pip install -r requirements.txt