File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ npm install -g lerna
2424npm run i
2525```
2626
27- 我们默认保留了 ` package-lock.json ` 文件,以防止可能的依赖包自动升级导致的问题。依赖默认会通过 taobao 镜像 ` https://registry.npmmirror.com/ ` 服务下载。
27+ 我们默认保留了 ` package-lock.json ` 文件,以防止可能的依赖包自动升级导致的问题。依赖默认会通过 taobao 镜像 ` https://registry.npmmirror.com/ ` 服务下载(如需修改下载源,请见当前目录下 package.json 文件) 。
2828
2929## 三、启动项目(可选,打包构建请直接看步骤三)
3030
Original file line number Diff line number Diff line change 2222 "prettier" : " 2.3.2"
2323 },
2424 "scripts" : {
25- "i" : " npm install && lerna bootstrap" ,
25+ "i" : " npm config set registry https://registry.npmmirror.com/ && npm install && lerna bootstrap" ,
2626 "clean" : " rm -rf node_modules package-lock.json packages/*/node_modules packages/*/package-lock.json" ,
2727 "start" : " lerna run start" ,
2828 "build" : " lerna run build" ,
You can’t perform that action at this time.
0 commit comments