npm.io
0.0.7 • Published 6 years ago

gulu-vue

Licence
MIT
Version
0.0.7
Deps
3
Size
3.6 MB
Vulns
1
Weekly
0
Stars
1

gulu-vue - 基于Vue二次封装的ui框架

Build Status GitHub package.json version GitHub

介绍

学习Vue过程中封装的一个UI框架。

开始使用

  1. 添加CSS样式

    • 使用本框架需将CSS样式box-sizing属性设置为border-box
    * {
      box-sizing: border-box;
    }
    *::before {
      box-sizing: border-box;
    }
    *::after {
      box-sizing: border-box;
    }

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

  2. 安装gulu-vue

npm install --save gulu-vue
  1. 引入gulu-vue
import { Button, ButtonGroup ,Icon } from 'gulu-vue'
import 'gulu-vue/dist/index.css'

export default {
  components: {
    'g-button': Button,
    'g-button-group': ButtonGroup,
    'g-icon': Icon
  }
}

文档

提问

变更记录

联系方式

贡献代码