前端调整

This commit is contained in:
zengqiao
2022-08-25 20:32:49 +08:00
parent 5262ae8907
commit 18832dc448
31 changed files with 369 additions and 405 deletions

View File

@@ -1,19 +1,43 @@
## 安装项目依赖
* 安装lerna
- 安装 lerna
```
npm i -g lerna
npm install -g lerna
```
- 安装项目依赖
```
npm run i
```
## 启动项目
```
npm run start
```
### 环境信息
http://localhost:port
## 构建项目
```
npm run build
```
```
## 目录结构
- packages
- layout-clusters-fe: 基座应用 & 多集群管理
- config-manager-fe: 子应用 - 系统管理
- tool: 启动 & 打包脚本
- ...
## 常见问题
Q: 执行 `npm run start` 时看不到应用构建和热加载过程?
A: 需要到具体的应用中执行 `npm run start`,例如 `cd packages/layout-clusters-fe` 后,执行 `npm run start`