Commit d1307fd8 by Jadon-jiang Committed by Gitee

update README.md.

1 parent f4db9c88
Showing 1 changed file with 12 additions and 0 deletions
......@@ -82,6 +82,18 @@ npm run dev
##### 前端部署
当项目开发完毕,只需要运行一行命令就可以打包你的应用
```
# 打包正式环境
npm run build:prod
# 打包预发布环境
npm run build:stage
```
构建打包成功之后,会在根目录生成 dist 文件夹,里面就是构建打包好的文件,通常是 ***.js 、***.css、index.html 等静态文件。
通常情况下 dist 文件夹的静态文件发布到你的 nginx 或者静态服务器即可,其中的 index.html 是后台服务的入口页面。
### 项目介绍
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!