george-ui
v0.1.1
Published
58到家精选ui库
Downloads
13
Keywords
Readme
Quick Start
import Vue from 'vue'
import utilhome from 'utilhome'
import 'utilhome/lib/index.css';
Vue.use(utilhome);
// or
import {
Alert , Button,
// ...
} from 'utilhome'
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": "utilhome",
"style": true
}]
]
],
参考的饿了么ui
https://github.com/ElementUI