mirror of https://github.com/ElemeFE/element
Update README.md
parent
7e2c423676
commit
dadc4cae5c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue