0.0.9 • Published 4 years ago
bass-ui v0.0.9
Bass - Vue UI 组件库
介绍
学习 Vue 过程中制作的一个 UI 框架
开始使用
CSS 样式
开启 border-box
*,*::before,*::after {box-sizing: border-box}
IE 8 及以上浏览器支持此样式
需要设置默认颜色变量
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; }
IE 15 及以上浏览器支持此样式
安装 Bass
npm
npm i --save bass-ui
yarn
yarn add bass-ui
引入
import {Button} from 'bass-ui' import 'bass-ui/dist/index.css' export default { name: 'App', components: { HelloWorld, 'b-button':Button } }