Skip to content

Commit

Permalink
fix: ssg build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yixiaojiu committed Feb 8, 2024
1 parent f4e6321 commit 4d59d88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/valaxy-addon-bangumi/components/ValaxyBangumi.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { defineCustomElements } from 'bilibili-bangumi-component/loader'
import pkg from 'bilibili-bangumi-component/loader/index.js'
withDefaults(defineProps<{
api: string
Expand All @@ -12,6 +12,8 @@ withDefaults(defineProps<{
bgmEnabled: true,
})
const { defineCustomElements } = pkg
defineCustomElements()
</script>

Expand Down

0 comments on commit 4d59d88

Please sign in to comment.