-
添加 CSS 样式
使用本框架之前,请在 css 中开启 border-box
*,*::befor,*::after{ box-sizing:border-box;}
IE 8 及以上浏览器都支持此样式
你还需要设置默认颜色等变量(后期修改为 SCSS 变量)
:root{ --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; }
IE 15 及以上浏览器都支持此样式
-
安装Vue--ui
npm install --sava gqq-ui-1-1
-
引入组件
import {Icon ,Button} from 'gqq-ui-1-1' import 'gqq-ui-1-1/dist/index.css' export default { name: 'Home', components: { 'we-button':Button, 'we-icon':Icon, } }
-
Notifications
You must be signed in to change notification settings - Fork 0
基于Vue2.x 实现的一个前端UI框架
License
quinn-getty/weui
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于Vue2.x 实现的一个前端UI框架
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published