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 +``` + ## 初始化数据库 ***重要:*** 在初始化数据库前必须先创建数据库, 数据库名称和配置文件中的名称相同.