0.0.6 • Published 4 years ago
xiaoyu-vue2-gulu v0.0.6
一个Vue UI 组件
介绍
这是我学习vue2过程中写的UI 框架
开始使用
配置
#使用本组件请使用盒模型bordex-box
*,*::before,*::after {box-sizing:border-box;}
安装
npm i --save xiaoyu-vue2-gulu yarn add xiaoyu-vue2-gulu
快速上手
- 引入
import { Button,Input } from 'xiaoyu-vue2-gulu'
import 'xiaoyu-vue2-gulu/dist/index.css'
Vue.component('g-button',Button)
Vue.component('g-input',Input)
- 使用
<g-button>按钮</g-button>
<g-input v-model="xxx"></g-input>