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

Fix issue. #10

Merged
merged 2 commits into from
Aug 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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