safety-eval-service-frontend/docs/startup.md

39 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 证照管理子应用 启动指南
## 启动命令
```bash
pnpm run serve:development
```
## 其他命令
| 命令 | 说明 |
|------|------|
| `pnpm run serve` | 默认启动(不指定环境) |
| `pnpm run serve:development` | 开发环境启动(推荐) |
| `pnpm run serve:production` | 生产环境配置启动 |
| `pnpm run build:development` | 开发环境构建 |
| `pnpm run build:production` | 生产环境构建 |
## 访问地址
启动后访问:`http://127.0.0.1:8081/certificate/container/`
启动后访问:`http://127.0.0.1:8081/certificate/container/Test`
## 技术栈
- React 18 + ReactDOM 18
- Ant Design 5.x
- @cqsjjb/jjb-dva-runtimeGBS 底座 DVA 运行时)
- rspack 构建
- pnpm 包管理器
- qiankun 微前端子应用
## 注意事项
- 本项目为 GBS 底座微前端子应用独立启动时无侧边栏、Header 等底座布局
- 需同时启动 GBS 底座主应用才能看到完整页面效果
- 使用 pnpm overrides 强制统一 React 版本,避免多副本冲突