Update README.md

pull/6/head
杨奕 2016-09-05 12:33:21 +08:00 committed by GitHub
parent 7e2c423676
commit dadc4cae5c
1 changed files with 5 additions and 4 deletions

View File

@ -1,12 +1,13 @@
# Element # Element
> UI Elements for admin page. > Desktop UI elements for Vue.js 2.0.
## Docs ## Docs
Coming soon Coming soon
## Demo ## Demo
Demo will come with the documentation. Here is a preview: Demo will come with the documentation. Here is a preview of what a page based on Element looks like:
<img src="./examples/assets/images/element-demo.jpeg" width = "100%" /> <img src="./examples/assets/images/element-demo.jpeg" width = "100%" />
## Usages ## Usages
@ -31,7 +32,7 @@ import {
} from 'element-ui' } from 'element-ui'
Vue.component(Select.name, ElSelect) Vue.component(Select.name, ElSelect)
Vue.component(Button.name, Button) Vue.component(Button.name, ElButton)
``` ```
(roughly) to (roughly) to
@ -50,7 +51,7 @@ import Button from 'element-ui/lib/button';
import Button from 'element-ui/lib/theme-default/button.css'; import Button from 'element-ui/lib/theme-default/button.css';
Vue.component(Select.name, ElSelect) Vue.component(Select.name, ElSelect)
Vue.component(Button.name, Button) Vue.component(Button.name, ElButton)
``` ```
## babel-plugin-component ## babel-plugin-component