|
пре 9 година | |
---|---|---|
bin | пре 9 година | |
examples | пре 9 година | |
fe.element | пре 9 година | |
packages | пре 9 година | |
scripts | пре 9 година | |
src | пре 9 година | |
.babelrc | пре 9 година | |
.eslintignore | пре 9 година | |
.eslintrc | пре 9 година | |
.gitignore | пре 9 година | |
CHANGELOG.md | пре 9 година | |
Makefile | пре 9 година | |
README.md | пре 9 година | |
components.json | пре 9 година | |
fe.element_build.yml | пре 9 година | |
lerna.json | пре 9 година | |
package.json | пре 9 година |
UI Elements for admin page.
http://element-test.faas.elenet.me/
npm install element-ui
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"
}
]]]
}
Details changes for each release are documented in the release notes.
MIT