pull/10/head
qingwei.li 2016-09-06 12:01:53 +08:00
parent adc09b28f8
commit c4a864810b
1 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,8 @@ import {
// ...
} from 'element-ui'
Vue.component(Select.name, ElSelect)
Vue.component(Button.name, ElButton)
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
```
(roughly) to
@ -50,8 +50,8 @@ import Select from 'element-ui/lib/theme-default/select.css';
import Button from 'element-ui/lib/button';
import Button from 'element-ui/lib/theme-default/button.css';
Vue.component(Select.name, ElSelect)
Vue.component(Button.name, ElButton)
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
```
## babel-plugin-component