0.0.7 • Published 5 years ago

bubu_gear v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Gear - Vue UI组件

Build Status

作者:BUBU_Sourire

介绍

这是在学习Vue过程中做的一个UI框架。

开始使用

  1. 添加CSS样式

使用本框架前,请在CSS中开启 border-box

*,*::before,*::after{box-sizing: border-box}

IE8 及以上浏览器都支持此样式

设置默认颜色等变量(后续改为SCSS变量)

:root {
    --button-height: 32px;
    --font-size: 14px;
    --color: #333;
    --button-bg: white;
    --button-active-bg: #eee;
    --border-radius: 4px;
    --border-color: #999;
    --border-color-hover: #666;
}

IE15 及以上浏览器都支持此样式

  1. 安装bubu_gear
npm install --save bubu_gear
  1. 引入bubu_gear
//APP.vue文件

import {Button, Button_group, Icon} from 'bubu_gear'
import 'bubu_gear/dist/index.css'

    export default {
        name: 'App',
        components: {
            HelloWorld,
            'g-button': Button,
            'g-icon':Icon
        }
    }

文档

提问

变更记录

联系方式

贡献代码

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago