You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.8 KiB
66 lines
1.8 KiB
3 years ago
|
# Dolphin Scheduler UI
|
||
3 years ago
|
|
||
3 years ago
|
> Brand new UI management system (Beta).
|
||
|
>
|
||
3 years ago
|
> Compared with the old `UI`, it will be more standardized, and it will also have a more complete type checking mechanism. At the same time, its speed has made a qualitative leap.
|
||
3 years ago
|
>
|
||
3 years ago
|
> We also provide dark mode and light mode to meet the preferences of different developers. It will make your eyes shine.
|
||
3 years ago
|
>
|
||
3 years ago
|
> If you have tried the new `UI` and found problems in use, you can contact us through issue.
|
||
3 years ago
|
|
||
3 years ago
|
---
|
||
3 years ago
|
|
||
3 years ago
|
### Start Using
|
||
|
|
||
|
For the best experience, we recommend using `node 16.x.x` and `pnpm 6.x.x`.
|
||
|
You can learn how to install the corresponding version from their official website.
|
||
|
|
||
|
- [node](https://nodejs.org/en/)
|
||
|
- [pnpm](https://pnpm.io/)
|
||
|
|
||
|
#### Install Dependencies
|
||
|
|
||
|
```shell
|
||
|
pnpm install
|
||
|
```
|
||
|
|
||
3 years ago
|
#### Development Project
|
||
3 years ago
|
|
||
|
To do this you need to change the `VITE_APP_DEV_WEB_URL` parameter variable in `.env.development` in the project root directory.
|
||
|
|
||
|
It is worth noting that when you do not change the request path or route, you only need to write `http`, `ip` and `port` without the `/` symbol at the end, such as `http://127.0. 0.1:12345`.
|
||
|
|
||
|
```shell
|
||
|
pnpm run dev
|
||
|
```
|
||
|
|
||
|
#### Build Project
|
||
|
|
||
3 years ago
|
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.
|
||
3 years ago
|
|
||
|
```shell
|
||
|
pnpm run build:prod
|
||
|
```
|
||
|
|
||
3 years ago
|
---
|
||
|
|
||
|
### Participate Development
|
||
|
|
||
3 years ago
|
#### Code Format
|
||
|
|
||
|
Usually after you modify the code, you need to perform code formatting operations to ensure that the code in the project is the same style.
|
||
|
|
||
|
```shell
|
||
|
pnpm run prettier
|
||
|
```
|
||
|
|
||
3 years ago
|
#### Type Checking
|
||
|
|
||
|
If you are involved in the development of the `UI`, please make sure to perform type checking before submitting the code, and submit it without errors.
|
||
|
|
||
|
```shell
|
||
|
vue-tsc --noEmit
|
||
|
```
|
||
|
|
||
|
---
|