UnisKB/ui/src/components/index.ts

25 lines
936 B
TypeScript
Raw Normal View History

2023-10-12 08:36:16 +00:00
import { type App } from 'vue'
import AppIcon from './icons/AppIcon.vue'
2023-10-25 10:35:28 +00:00
import AppAvatar from './app-avatar/index.vue'
2023-10-16 10:58:51 +00:00
import LoginLayout from './login-layout/index.vue'
import LoginContainer from './login-container/index.vue'
2023-11-03 09:45:01 +00:00
import LayoutContainer from './layout-container/index.vue'
2023-10-20 10:48:16 +00:00
import TagsInput from './tags-input/index.vue'
2023-10-25 10:35:28 +00:00
import CardBox from './card-box/index.vue'
import CardAdd from './card-add/index.vue'
2023-10-27 09:49:06 +00:00
import BackButton from './back-button/index.vue'
2023-10-25 10:35:28 +00:00
2023-10-12 08:36:16 +00:00
export default {
install(app: App) {
app.component(AppIcon.name, AppIcon)
2023-10-25 10:35:28 +00:00
app.component(AppAvatar.name, AppAvatar)
2023-10-12 08:36:16 +00:00
app.component(LoginLayout.name, LoginLayout)
app.component(LoginContainer.name, LoginContainer)
2023-11-03 09:45:01 +00:00
app.component(LayoutContainer.name, LayoutContainer)
2023-10-20 10:48:16 +00:00
app.component(TagsInput.name, TagsInput)
2023-10-25 10:35:28 +00:00
app.component(CardBox.name, CardBox)
app.component(CardAdd.name, CardAdd)
2023-10-27 09:49:06 +00:00
app.component(BackButton.name, BackButton)
2023-10-12 08:36:16 +00:00
}
}