MaxKB/ui/src/components/index.ts
wangdan-fit2cloud 6cf411eec1 feat: 文档
2023-11-09 18:52:06 +08:00

29 lines
1.1 KiB
TypeScript

import { type App } from 'vue'
import AppIcon from './icons/AppIcon.vue'
import AppAvatar from './app-avatar/index.vue'
import LoginLayout from './login-layout/index.vue'
import LoginContainer from './login-container/index.vue'
import LayoutContainer from './layout-container/index.vue'
import TagsInput from './tags-input/index.vue'
import CardBox from './card-box/index.vue'
import CardAdd from './card-add/index.vue'
import BackButton from './back-button/index.vue'
import AppTable from './app-table/index.vue'
import ReadWrite from './read-write/index.vue'
export default {
install(app: App) {
app.component(AppIcon.name, AppIcon)
app.component(AppAvatar.name, AppAvatar)
app.component(LoginLayout.name, LoginLayout)
app.component(LoginContainer.name, LoginContainer)
app.component(LayoutContainer.name, LayoutContainer)
app.component(TagsInput.name, TagsInput)
app.component(CardBox.name, CardBox)
app.component(CardAdd.name, CardAdd)
app.component(BackButton.name, BackButton)
app.component(AppTable.name, AppTable)
app.component(ReadWrite.name, ReadWrite)
}
}