Skip to content

Commit

Permalink
fix(desc): add <SDescAvatar> to mixin (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomuikuta authored Jan 31, 2024
1 parent 6d25e6f commit d008928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mixins/Desc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { type App } from 'vue'
import SDesc from '../components/SDesc.vue'
import SDescAvatar from '../components/SDescAvatar.vue'
import SDescDay from '../components/SDescDay.vue'
import SDescEmpty from '../components/SDescEmpty.vue'
import SDescFile from '../components/SDescFile.vue'
Expand All @@ -13,6 +14,7 @@ import SDescText from '../components/SDescText.vue'

export function mixin(app: App): void {
app.component('SDesc', SDesc)
app.component('SDescAvatar', SDescAvatar)
app.component('SDescDay', SDescDay)
app.component('SDescEmpty', SDescEmpty)
app.component('SDescFile', SDescFile)
Expand All @@ -28,6 +30,7 @@ export function mixin(app: App): void {
declare module 'vue' {
export interface GlobalComponents {
SDesc: typeof SDesc
SDescAvatar: typeof SDescAvatar
SDescDay: typeof SDescDay
SDescEmpty: typeof SDescEmpty
SDescFile: typeof SDescFile
Expand Down

0 comments on commit d008928

Please sign in to comment.