Skip to content

Commit

Permalink
chore: change scafford readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wssgcg1213 committed Jan 24, 2018
1 parent 1b5e57c commit 9e7ca26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions scaffords/ice-design-lite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

- react-router @3.x 默认采用 hashHistory 的单页应用
- 入口文件: `src/index.js`
- 导航配置: `src/navs.js`
- 路由配置: `src/routes.jsx`
- 页面文件: `src/pages`
- 组件: `src/components`
Expand Down
9 changes: 7 additions & 2 deletions scaffords/ice-design-pro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ ice-design-pro
│ ├── layouts // 通用布局
│ ├── pages // 页面
│ ├── index.js // 应用入口
│ └── routes.jsx // 路由入口
│ ├── navs.js // 导航配置
│ └── routes.jsx // 路由配置
├── tests // 测试
├── .editorconfig // 代码风格配置
├── .eslintignore // eslint 忽略目录配置
Expand All @@ -76,7 +77,11 @@ ice-design-pro

## 使用

```
1. (推荐) GUI 工具使用: 下载 [iceworks](https://alibaba.github.io/ice/#/iceworks)

2. Cli 命令使用:

```bash
$ npm start // 启动预览服务器
$ npm run build // 构建 dist
```

0 comments on commit 9e7ca26

Please sign in to comment.