tpa_web_component
v2.5.4
Published
TPA Web Components Library
Readme
xdf-bot-web
一个基于 Vue 3 和 Element Plus 的侧边栏布局组件。
安装
npm install xdf-bot-web使用方法
全局注册
import { createApp } from 'vue'
import App from './App.vue'
import XdfBotWeb from 'xdf-bot-web'
const app = createApp(App)
app.use(XdfBotWeb)
app.mount('#app')局部注册
import { LayoutAside } from 'xdf-bot-web'
export default {
components: {
LayoutAside
}
}在模板中使用
<template>
<layout-aside />
</template>Props
| 属性名 | 类型 | 默认值 | 说明 | |--------|------|--------|------| | ... | ... | ... | ... |
事件
| 事件名 | 说明 | |--------|------| | ... | ... |
License
MIT
