更新配置
This commit is contained in:
@@ -26,6 +26,16 @@ Overview
|
|||||||
项目运行
|
项目运行
|
||||||
----
|
----
|
||||||
|
|
||||||
|
- 安装nodeJS
|
||||||
|
```
|
||||||
|
建议安装node-v8.17.0-x64版本 教程参考 https://blog.csdn.net/zhangkaidsy/article/details/86645070
|
||||||
|
```
|
||||||
|
|
||||||
|
- 配淘宝源(速度快)
|
||||||
|
```
|
||||||
|
yarn config set registry https://registry.npm.taobao.org
|
||||||
|
```
|
||||||
|
|
||||||
- 安装依赖
|
- 安装依赖
|
||||||
```
|
```
|
||||||
yarn install
|
yarn install
|
||||||
@@ -42,7 +52,6 @@ yarn build
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
其他说明
|
其他说明
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pre": "yarn --registry https://registry.npm.taobao.org || cnpm install || npm install --registry https://registry.npm.taobao.org ",
|
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build"
|
"build": "vue-cli-service build"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user