doc: update quickstart

pull/105/head
qingwei.li 2016-09-21 12:03:02 +08:00
parent e75f83c860
commit 2b8ecd9bb2
1 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ $ npm install element-ui@next -S
```javascript
import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
Vue.use(Element)
```
@ -42,8 +43,8 @@ import 'element-ui/lib/theme-default/select.css';
import Button from 'element-ui/lib/button';
import 'element-ui/lib/theme-default/button.css';
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
Vue.component(Select.name, Select);
Vue.component(Button.name, Button);
```
### babel-plugin-component