xu-ui-test

1.1.2 • Public • Published

一个Vue ui 组件

Build Status

介绍

这是一个在学习Vue过程中自己做的一个UI框架,希望对自己有用

开始使用

1.添加样式 使用本框架前,请在css中开启 border-box

*{box-sizing:border-box}

ie8以上浏览器都支持此样式

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

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

2.安装ui

npm i --save test-2019-8-26

3.引入

import {Button} from 'test-2019-8-26'
import 'test-2019-8-26/dist/index.css'
export default {
  name: 'app',
  components: {
    'x-button':Button
  }
}

##文档

##提问

##变更记录

Dependencies (7)

Dev Dependencies (16)

Package Sidebar

Install

npm i xu-ui-test

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

1.9 MB

Total Files

82

Last publish

Collaborators

  • xuyonghui