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