pm2 启动React项目

1.  将资源以到服务器上,除大文件

 

 

2. npm 安装依赖包

npm install

3. 打包

npm run build

4.运行

pm2 start --name agv npm -- start

 

 

5. 查看

 

posted @ 2021-06-02 11:39  李悠然  阅读(1109)  评论(0编辑  收藏  举报