From 29b6bcbcb6b379e26f033731a55ac7f1d7aa1466 Mon Sep 17 00:00:00 2001 From: Ryan Su Date: Wed, 21 Sep 2022 21:02:10 +0800 Subject: [PATCH] fix: add ui build doc --- docs/simple-admin/en/docs/env_setting.md | 15 ++++++++++++++- docs/simple-admin/zh-cn/docs/env_setting.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/simple-admin/en/docs/env_setting.md b/docs/simple-admin/en/docs/env_setting.md index df9cd21b..e9cd4a0f 100644 --- a/docs/simple-admin/en/docs/env_setting.md +++ b/docs/simple-admin/en/docs/env_setting.md @@ -145,6 +145,20 @@ yarn install yarn serve ``` +### Compile +```shell +yarn build +``` + +### Preview +```shell +# build and preview +yarn preview + +# preview exist files +yarn preview:dist +``` + ## Initialize the database ***Important:*** You must create the database before initialize @@ -153,7 +167,6 @@ The database name is the same as your configuration. ```shell # visit the url - https://address:port/#/init ``` diff --git a/docs/simple-admin/zh-cn/docs/env_setting.md b/docs/simple-admin/zh-cn/docs/env_setting.md index 05da403a..e79d11c8 100644 --- a/docs/simple-admin/zh-cn/docs/env_setting.md +++ b/docs/simple-admin/zh-cn/docs/env_setting.md @@ -145,6 +145,20 @@ yarn install yarn serve ``` +### 编译 +```shell +yarn build +``` + +### 预览 +```shell +# build and preview +yarn preview + +# preview exist files +yarn preview:dist +``` + ## 初始化数据库 ***重要:*** 在初始化数据库前必须先创建数据库, 数据库名称和配置文件中的名称相同.