组件库使用 全局注册 import * as ui from 'gyui-only' import 'gyui-only/style.css' 按需注册 import {createApp} from 'vue' import { XButton } from 'gyui-only' createApp(App).use(XButton)