0.1.1 • Published 5 years ago

george-ui v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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