0.0.3 • Published 5 years ago

wkc-test v0.0.3

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

一个Vue UI组件

Build Status

介绍

这是我为了学习 Vue 而做的UI

Get start

  1. 添加CSS样式 本项目需要在CSS中开启border-box

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

    你还需要设置默认颜色等变量

    html {
          --button-height: 32px;
          --font-size: 14px;
          --button-bg: white;
          --button-active-bg: #eee;
          --border-radius: 4px;
          --color: #333;
          --border-color: #999;
          --border-color-hover: #666
        }
  2. 安装wkc

    npm i --save wkc
  3. 引入wkc

    import {Button, ButtonGroup, Icon} from 'frank-test-1-1'
    import 'wkc/dist/index.css'
    
    export default {
      name: 'app',
      components: {
        'g-button': Button,
        'g-icon': Icon
      }
    }

Document

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago