# 快速上手
使用本框架前,建议在 CSS 中开启 border-box,如:
*, *::before, *::after { box-sizing: border-box; }引入组件
import { Button } from 'gulu-vue2'注册组件
export default { name: 'ComponentName', components: { 'g-button': Button, }, }
← 安装 Button - 按钮 →
使用本框架前,建议在 CSS 中开启 border-box,如:
*, *::before, *::after {
box-sizing: border-box;
}
引入组件
import { Button } from 'gulu-vue2'
注册组件
export default {
name: 'ComponentName',
components: {
'g-button': Button,
},
}
← 安装 Button - 按钮 →