Skip to content

Commit da7270b

Browse files
authored
Update README.md
1 parent d2952ff commit da7270b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,20 @@ npm install vue-easytable --save-dev
2525

2626

2727
```
28+
// 引入css
2829
import 'vue-easytable/libs/themes-base/index.css'
30+
31+
// 引入table 组件 和 分页组件
2932
import {VTable,VPagination} from 'vue-easytable'
3033
34+
// 注册到全局
3135
Vue.component(VTable.name, VTable)
3236
Vue.component(VPagination.name, VPagination)
3337
```
3438

35-
3639
## 效果展示
3740
![vue-easytable](./examples/images/vue-easytable.gif)
3841

39-
4042
## License
4143
http://www.opensource.org/licenses/mit-license.php
4244

0 commit comments

Comments
 (0)