0.0.11 • Published 6 years ago

lbgplatform-ui v0.0.11

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

Quick Start

import Vue from 'vue'

import lbgplatform-ui from 'lbgplatform-ui'
import 'lbgplatform-ui/lib/index.css';
Vue.use(lbgplatform-ui);

// or
import {
  Alert , Button,
  // ...
} from 'lbgplatform-ui'

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": "lbgplatform-ui",
            "style": true
            }]
        ]
    ],

参考的饿了么ui

https://github.com/ElementUI