fix: build error

This commit is contained in:
0xJacky 2023-11-26 19:01:50 +08:00
parent e5a5889931
commit 8aa9363bbe
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
17 changed files with 58 additions and 58 deletions

View file

@ -16,7 +16,7 @@ You should execute the following command to update browser list database before
## Build Frontend
Please execute the following command in `frontend` directory.
Please execute the following command in `app` directory.
```shell
yarn install
@ -27,7 +27,7 @@ yarn build
## Build Backend
::: warning
Before building the backend, the frontend should be built first because the backend will embed the frontend distribution.
Before building the backend, the app should be built first because the backend will embed the app distribution.
:::
Please execute the following command in the project root directory.

View file

@ -103,7 +103,7 @@ location ~ .*\.(jpg|png|js|css)$ {
}
```
When users input variable values in the frontend input boxes, the system will automatically generate new configuration content, as shown below:
When users input variable values in the app input boxes, the system will automatically generate new configuration content, as shown below:
<img src="/assets/nginx-ui-template/en/config-ui-after-input.png" width="350px" title="Config Modal" />

View file

@ -6,7 +6,7 @@
.
├─ docs # documentations
├─ cmd # command-line tool
├─ frontend # frontend build with vue 3
├─ app # app build with vue 3
├─ server # backend build with golang
├─ resources # additional resources, not for build
├─ template # templates for nginx
@ -35,7 +35,7 @@
```
.
├─ frontend
├─ app
│ ├─ public # public resources
│ ├─ src # source code
│ │ ├─ api # api to backend

View file

@ -15,7 +15,7 @@
## 构建前端
请在 `frontend` 目录中执行以下命令。
请在 `app` 目录中执行以下命令。
```shell
yarn install

View file

@ -6,7 +6,7 @@
.
├─ docs # 文档目录
├─ cmd # 命令行工具
├─ frontend # 使用 Vue 3 构建的前端
├─ app # 使用 Vue 3 构建的前端
├─ server # 使用 Golang 构建的后端
├─ resources # 其他资源,不参与构建
├─ template # 用于 Nginx 的模板文件
@ -35,7 +35,7 @@
```
.
├─ frontend
├─ app
│ ├─ public # 公共资源
│ ├─ src # 源代码
│ │ ├─ api # 向后端发起请求的 API

View file

@ -15,7 +15,7 @@
## 構建前端
請在 `frontend` 資料夾中執行以下命令。
請在 `app` 資料夾中執行以下命令。
```shell
yarn install

View file

@ -6,7 +6,7 @@
.
├─ docs # 手冊資料夾
├─ cmd # 命令列工具
├─ frontend # 使用 Vue 3 構建的前端
├─ app # 使用 Vue 3 構建的前端
├─ server # 使用 Golang 構建的後端
├─ resources # 其他資源,不參與構建
├─ template # 用於 Nginx 的模板檔案
@ -35,7 +35,7 @@
```
.
├─ frontend
├─ app
│ ├─ public # 公共資源
│ ├─ src # 原始碼
│ │ ├─ api # 向後端發起請求的 API