Skip to content

Commit

Permalink
fix: add ui build doc
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Sep 21, 2022
1 parent f9d83a4 commit 29b6bcb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/simple-admin/en/docs/env_setting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -153,7 +167,6 @@ The database name is the same as your configuration.
```shell
# visit the url


https://address:port/#/init
```

Expand Down
14 changes: 14 additions & 0 deletions docs/simple-admin/zh-cn/docs/env_setting.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ yarn install
yarn serve
```

### 编译
```shell
yarn build
```

### 预览
```shell
# build and preview
yarn preview

# preview exist files
yarn preview:dist
```

## 初始化数据库
***重要:*** 在初始化数据库前必须先创建数据库, 数据库名称和配置文件中的名称相同.

Expand Down

0 comments on commit 29b6bcb

Please sign in to comment.