[Docs][UI Next][V1.0.0-Alpha] Update README.md. (#8601)

slim
songjianet 2022-03-01 15:38:50 +08:00 committed by GitHub
parent 9a96b8da43
commit 3c832ccef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -24,7 +24,7 @@ You can learn how to install the corresponding version from their official websi
pnpm install
```
#### Start Development Project
#### Development Project
To do this you need to change the `VITE_APP_DEV_WEB_URL` parameter variable in `.env.development` in the project root directory.
@ -36,11 +36,9 @@ pnpm run dev
#### Build Project
We provide two packaging and compilation environments by default, `development` and `production`. Their interface request configurations are in `.env.development` and `.env.production` in the project root directory respectively. Please change the `URL` is the address of the corresponding backend service.
When you are ready to package, you need to modify the `VITE_APP_PROD_WEB_URL` parameter in `.env.production` accordingly to ensure that the packaged file can be normally requested to the backend service address.
```shell
pnpm run build:dev
# or
pnpm run build:prod
```