mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-04 13:17:47 +08:00
50 lines
713 B
Markdown
50 lines
713 B
Markdown
|
# el-table
|
||
|
> A el-table component for Vue.js.
|
||
|
|
||
|
## Demo
|
||
|
http://element-component.github.io/el-table
|
||
|
|
||
|
## Installation
|
||
|
```shell
|
||
|
npm i el-table -D
|
||
|
```
|
||
|
|
||
|
## Usage
|
||
|
```javascript
|
||
|
import Vue from 'vue'
|
||
|
import ElTable from 'el-table'
|
||
|
import 'element-theme-default'
|
||
|
|
||
|
Vue.use(ElTable)
|
||
|
```
|
||
|
|
||
|
or
|
||
|
|
||
|
```javascript
|
||
|
import Vue from 'vue'
|
||
|
import { ElTable } from 'el-table'
|
||
|
|
||
|
Vue.component('el-table', ElTable)
|
||
|
```
|
||
|
|
||
|
|
||
|
## Options
|
||
|
|
||
|
| name | description | type | default |
|
||
|
|-------------|-------------|-------------|-------------|
|
||
|
| | | | |
|
||
|
|
||
|
## Development
|
||
|
```shell
|
||
|
make dev
|
||
|
|
||
|
## test
|
||
|
make test
|
||
|
|
||
|
## build
|
||
|
make build
|
||
|
```
|
||
|
|
||
|
# License
|
||
|
[MIT](https://opensource.org/licenses/MIT)
|