mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-13 11:32:20 +08:00
初始化3.0.0版本
This commit is contained in:
32
km-console/packages/layout-clusters-fe/README.md
Normal file
32
km-console/packages/layout-clusters-fe/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
## Usage
|
||||
|
||||
### 启动:
|
||||
* 招行环境执行 npm start
|
||||
* 内部环境执行 npm run start:inner
|
||||
|
||||
### 构建:
|
||||
* 招行环境执行 npm build
|
||||
* 内部环境执行 npm run build:inner
|
||||
|
||||
构建后的代码默认会存放到 `../pub` 文件夹里
|
||||
|
||||
### 部署
|
||||
* 内部环境:代码提交主干后会自动触发打包部署至http://10.190.14.125:8016
|
||||
|
||||
## 目录结构
|
||||
|
||||
- config: 开发 & 构建配置
|
||||
- theme.js:antd 主题配置
|
||||
- webpack.dev.config.js:webpack 开发环境补充配置,覆盖默认配置
|
||||
- webpack.build.config.js:webpack 构建补充配置,覆盖默认配置
|
||||
- webpackConfigResolveAlias.js 文件路径别名配置
|
||||
- src:源代码所在目录
|
||||
- assets:全局资源 img、css
|
||||
- common: 全局配置、通用方法
|
||||
- components:公共组件
|
||||
- pages:路由匹配的页面组件
|
||||
- app.jsx 菜单、路由配置组件
|
||||
- index.html:单页
|
||||
- index.jsx:入口文件
|
||||
- fetk.config.js 开发工具配置页面
|
||||
|
||||
Reference in New Issue
Block a user