gulu-vue

0.0.7 • Public • Published

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
  }
}

文档

提问

变更记录

联系方式

贡献代码

Readme

Keywords

none

Package Sidebar

Install

npm i gulu-vue

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

3.81 MB

Total Files

160

Last publish

Collaborators

  • blingblingredstar