Skip to content
This repository has been archived by the owner on Apr 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10 from xtTech/1.1.1
Browse files Browse the repository at this point in the history
Fix issue.
  • Loading branch information
zoeminghong committed Aug 29, 2019
2 parents 2860f8d + 60fefb1 commit e00b170
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 13,044 deletions.
2 changes: 1 addition & 1 deletion src/main/asciidoc/_chapter/get-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cd web/dashboard
npm install
# 这里以生产为例,还存在 development、test、uat
npm build:production
npm run build:prod # 使用此命令,请修改.env.production文件中的配置
----
然后会在 dashboard 目录下生成一个 dist 文件夹,将文件夹下内容复制到 nginx 的 html 文件夹内。
参考以下内容配置你的 nginx 的 nginx.conf 文件。
Expand Down
2 changes: 1 addition & 1 deletion web/dashboard/.env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 开发环境
NODE_ENV = "development"
NODE_ENV = "production"
VUE_APP_HTTP_TIMEOUT = 15000
VUE_APP_HTTP_API = "http://localhost:8088/manager"
VUE_APP_TITLE = "APP 管理平台 - 开发"
Expand Down
2 changes: 1 addition & 1 deletion web/dashboard/.env.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 开发环境
NODE_ENV = "development"
NODE_ENV = "test"
VUE_APP_HTTP_TIMEOUT = 15000
VUE_APP_HTTP_API = "http://localhost:8088/manager"
VUE_APP_TITLE = "APP 管理平台 - 开发"
Expand Down
2 changes: 1 addition & 1 deletion web/dashboard/.env.uat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 开发环境
NODE_ENV = "development"
NODE_ENV = "uat"
VUE_APP_HTTP_TIMEOUT = 15000
VUE_APP_HTTP_API = "http://localhost:8088/manager"
VUE_APP_TITLE = "APP 管理平台 - 开发"
Expand Down
Loading

0 comments on commit e00b170

Please sign in to comment.