lbgdemoui
v1.0.3
Published
demo
Downloads
2
Readme
Quick Start
import Vue from 'vue'
import Lbgdemoui from 'lbgdemoui'
import 'lbgdemoui/lib/index.css';
Vue.use(Lbgdemoui);
// or
import {
Alert , Button,
// ...
} from 'lbgdemoui'
Vue.use(Alert);
Vue.use(Button);
// Vue.component(Select.name, Select)
// Vue.component(Button.name, Button)
<template>
<div>
<el-alert></el-alert>
<el-button></el-button>
</div>
</template>
``` javascript
// 按需加载
// https://github.com/ElementUI/babel-plugin-component
.babelrc
"plugins": [
["component",[
{
"libraryName": "lbgdemoui",
"style": true
}]
]
],
参考的饿了么ui
https://github.com/ElementUI