|
%!s(int64=9) %!d(string=hai) anos | |
---|---|---|
bin | %!s(int64=9) %!d(string=hai) anos | |
examples | %!s(int64=9) %!d(string=hai) anos | |
fe.element | %!s(int64=9) %!d(string=hai) anos | |
packages | %!s(int64=9) %!d(string=hai) anos | |
scripts | %!s(int64=9) %!d(string=hai) anos | |
src | %!s(int64=9) %!d(string=hai) anos | |
.babelrc | %!s(int64=9) %!d(string=hai) anos | |
.eslintignore | %!s(int64=9) %!d(string=hai) anos | |
.eslintrc | %!s(int64=9) %!d(string=hai) anos | |
.gitignore | %!s(int64=9) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=9) %!d(string=hai) anos | |
Makefile | %!s(int64=9) %!d(string=hai) anos | |
README.md | %!s(int64=9) %!d(string=hai) anos | |
components.json | %!s(int64=9) %!d(string=hai) anos | |
fe.element_build.yml | %!s(int64=9) %!d(string=hai) anos | |
lerna.json | %!s(int64=9) %!d(string=hai) anos | |
package.json | %!s(int64=9) %!d(string=hai) anos |
UI Elements for admin page.
https://element-component.github.io/element
npm i element-ui -S
import Vue from 'vue'
import Element from 'element-ui'
Vue.use(Element)
// or
import {
Select,
Button
// ...
} from 'element-ui'
Vue.component(Select.name, ElSelect)
Vue.component(Button.name, Button)
(roughly) to
import Vue from 'vue'
import Element from 'element-ui'
import 'element-ui/lib/theme-default/index.css';
Vue.use(Element)
// or
import Select from 'element-ui/lib/select';
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, Button)
.babelrc
{
"plugins": ["xxx", ["component", [
{
"libraryName": "element-ui",
"styleLibraryName": "theme-default"
}
]]]
}
MIT