Commit dadc4cae authored by 杨奕's avatar 杨奕 Committed by GitHub

Update README.md

parent 7e2c4236
# 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 { ...@@ -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'; ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment