MaxKB/ui/src/components/index.ts
2023-11-03 17:45:01 +08:00

25 lines
936 B
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'
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)
}
}