Skip to content

Commit 3fd2897

Browse files
committed
docs: vercel --pord
1 parent f9428b3 commit 3fd2897

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ npm i
6969
lerna bootstrap
7070
# 同时 build 前后端
7171
lerna run build
72+
# 部署 vercel
73+
vercel --prod
7274
```
7375

7476
目前已经将 `lerna bootstrap` 加入了 `postinstall` 脚本中,会在 `npm i` 的时候自动运行。同时在 pull 的时候如果远程仓库的依赖发生改变会自动运行 `npm i`,参考脚本 [.scripts/update_dependencies.sh](./.scripts/update_dependencies.sh)。因此只需要第一次 clone 仓库的时候手动在根目录 `npm i`,一下,后续都是自动安装依赖的了。

0 commit comments

Comments
 (0)