@lvxiaowu/antd4
Version:
antd4-components
22 lines (14 loc) • 421 B
Markdown
## 基于 antd4 的组件库
# @lvxiaowu/antd4
## 安装
```vim
npm install @lvxiaowu/antd4 --save
```
## 使用
```js
import { Button } from '@lvxiaowu/antd4'
```
## 写 store 时必须注意以下几点
- 每个 store 必须有一个唯一的$storeName
- 每个 store 必须有 resetStore 方法
- 如果 store 里面含有其他 store,必须提供 getXXXStore 的方法去获取改 store