diff --git a/src/components/RightSideButtons/RightSideButtons.vue b/src/components/RightSideButtons/RightSideButtons.vue index 0004964b..20e93ba1 100644 --- a/src/components/RightSideButtons/RightSideButtons.vue +++ b/src/components/RightSideButtons/RightSideButtons.vue @@ -1,7 +1,6 @@ diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue index 029e9df4..6593751c 100644 --- a/src/contentScripts/views/WatchLater/WatchLater.vue +++ b/src/contentScripts/views/WatchLater/WatchLater.vue @@ -2,9 +2,6 @@ import { useDateFormat } from '@vueuse/core' import { useI18n } from 'vue-i18n' -import Button from '~/components/Button.vue' -import Empty from '~/components/Empty.vue' -import Progress from '~/components/Progress.vue' import { useApiClient } from '~/composables/api' import { useBewlyApp } from '~/composables/useAppProvider' import type { List as VideoItem, WatchLaterResult } from '~/models/video/watchLater' diff --git a/src/logic/common-setup.ts b/src/logic/common-setup.ts index 21f18c6b..6013dc48 100644 --- a/src/logic/common-setup.ts +++ b/src/logic/common-setup.ts @@ -5,6 +5,7 @@ import type { App } from 'vue' import Toast, { POSITION } from 'vue-toastification' import { getCurrentContext } from 'webext-bridge' +import components from '~/components' import { i18n } from '~/utils/i18n' const pinia = createPinia() @@ -29,5 +30,6 @@ export async function setupApp(app: App) { newestOnTop: true, position: POSITION.TOP_RIGHT, }) + app.use(components) app.use(pinia) }