import{o as e,g as a,X as o}from"./@vue.e84e1286.js";const p={class:"markdown-body"},n=o(`
\u672C\u8282\u5C06\u4ECB\u7ECD\u5982\u4F55\u5728\u9879\u76EE\u4E2D\u4F7F\u7528 my-baseui
\u4F7F\u7528npm \u6216 yarn \u5B89\u88C5
npm install my-baseui
yarn add my-baseui
\u5728 main.js \u4E2D\u5199\u5165\u4EE5\u4E0B\u5185\u5BB9\uFF1A
import { createApp } from 'vue-demi'
import App from './App.vue'
// \u5BFC\u5165\u7EC4\u4EF6\u5E93
import myBaseui from 'my-baseui'
import 'my-baseui/dist/style.css';
const app = createApp(App)
app.use(myBaseui)
app.mount('#app')
<!-- html -->
<m-button>\u9ED8\u8BA4\u6309\u94AE</m-button>
<m-button type="primary">\u4E3B\u8981\u6309\u94AE</m-button>
app.use()
\u65B9\u6CD5\u6CE8\u518C\u3002/*js*/
import { mButton } from 'my-baseui';
<!-- html -->
<m-button>\u70B9\u51FB</m-button>