2023-05-30 13:19:30 +08:00
|
|
|
|
# XianNccDa (xian-ncc-da-client)
|
|
|
|
|
|
|
|
|
|
xian ncc 调度决策辅助客户端
|
|
|
|
|
|
2023-05-30 14:31:27 +08:00
|
|
|
|
## 项目 clone 说明
|
|
|
|
|
|
|
|
|
|
此项目包含子模块,拉取方式:
|
|
|
|
|
|
|
|
|
|
- 1.在克隆主项目的时候带上参数 --recurse-submodules
|
|
|
|
|
- 2.或者 clone 完成后,在项目目录中执行:git submodule init && git submodule update
|
|
|
|
|
|
|
|
|
|
## 安装依赖
|
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```bash
|
|
|
|
|
yarn
|
|
|
|
|
# or
|
|
|
|
|
npm install
|
|
|
|
|
```
|
|
|
|
|
|
2023-05-30 14:31:27 +08:00
|
|
|
|
## 编译 proto 文件
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
yarn run proto
|
|
|
|
|
# or
|
|
|
|
|
npm run proto
|
|
|
|
|
```
|
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
2023-05-30 14:31:27 +08:00
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```bash
|
|
|
|
|
quasar dev
|
2023-05-30 14:31:27 +08:00
|
|
|
|
# or
|
|
|
|
|
yarn run dev
|
|
|
|
|
# or
|
|
|
|
|
npm run dev
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Lint the files
|
2023-05-30 14:31:27 +08:00
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```bash
|
|
|
|
|
yarn lint
|
|
|
|
|
# or
|
|
|
|
|
npm run lint
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Format the files
|
2023-05-30 14:31:27 +08:00
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```bash
|
|
|
|
|
yarn format
|
|
|
|
|
# or
|
|
|
|
|
npm run format
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Build the app for production
|
2023-05-30 14:31:27 +08:00
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
```bash
|
|
|
|
|
quasar build
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Customize the configuration
|
2023-05-30 14:31:27 +08:00
|
|
|
|
|
2023-05-30 13:19:30 +08:00
|
|
|
|
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).
|