# 快速上手
本章节待完善
# 安装
npm install xing-ui # 开始使用
# 添加 CSS 样式
使用本框架前,请确保整个项目的 CSS 开启了 border-box
*,*::before,*::after { box-sizing: border-box; } # 按需引入
import { XButton } from 'xing-ui'
import 'xing-ui/dist/xing.css'
import Vue from 'vue'
new Vue({
el: '#app',
components: {
XButton
}
}) # 使用组件
<x-button>欢迎使用Xing-UI</x-button>