diff --git a/src/runtime/plugins/vuetify-date.ts b/src/runtime/plugins/vuetify-date.ts index ac41ec7..c21a849 100644 --- a/src/runtime/plugins/vuetify-date.ts +++ b/src/runtime/plugins/vuetify-date.ts @@ -1,7 +1,8 @@ import { configureDate } from './date' import { defineNuxtPlugin } from '#imports' +import type { ObjectPlugin } from '#app' -export default defineNuxtPlugin({ +const plugin: ObjectPlugin<{}> = defineNuxtPlugin({ name: 'vuetify:date:plugin', order: -25, parallel: true, @@ -11,3 +12,5 @@ export default defineNuxtPlugin({ }) }, }) + +export default plugin \ No newline at end of file diff --git a/src/runtime/plugins/vuetify-i18n-date.ts b/src/runtime/plugins/vuetify-i18n-date.ts index d7c73f9..e02a07a 100644 --- a/src/runtime/plugins/vuetify-i18n-date.ts +++ b/src/runtime/plugins/vuetify-i18n-date.ts @@ -1,7 +1,8 @@ import { configureDate } from './date' import { defineNuxtPlugin } from '#imports' +import type { ObjectPlugin } from '#app' -export default defineNuxtPlugin({ +const plugin: ObjectPlugin<{}> = defineNuxtPlugin({ name: 'vuetify:date-i18n:plugin', order: -25, // @ts-expect-error i18n plugin missing on build time @@ -13,3 +14,5 @@ export default defineNuxtPlugin({ }) }, }) + +export default plugin \ No newline at end of file diff --git a/src/runtime/plugins/vuetify-i18n.ts b/src/runtime/plugins/vuetify-i18n.ts index 1b16eb6..19e19d9 100644 --- a/src/runtime/plugins/vuetify-i18n.ts +++ b/src/runtime/plugins/vuetify-i18n.ts @@ -1,7 +1,8 @@ import { createAdapter } from './i18n' import { defineNuxtPlugin } from '#imports' +import type { ObjectPlugin } from '#app' -export default defineNuxtPlugin({ +const plugin: ObjectPlugin<{}> = defineNuxtPlugin({ name: 'vuetify:i18n:plugin', order: -25, // @ts-expect-error i18n plugin missing on build time @@ -13,3 +14,5 @@ export default defineNuxtPlugin({ }) }, }) + +export default plugin \ No newline at end of file diff --git a/src/runtime/plugins/vuetify-icons.ts b/src/runtime/plugins/vuetify-icons.ts index 12d72d4..8ab01bb 100644 --- a/src/runtime/plugins/vuetify-icons.ts +++ b/src/runtime/plugins/vuetify-icons.ts @@ -1,7 +1,8 @@ import { configureIcons } from './icons' import { defineNuxtPlugin } from '#imports' +import type { ObjectPlugin } from '#app' -export default defineNuxtPlugin({ +const plugin: ObjectPlugin<{}> = defineNuxtPlugin({ name: 'vuetify:icons:plugin', order: -25, parallel: true, @@ -11,3 +12,5 @@ export default defineNuxtPlugin({ }) }, }) + +export default plugin \ No newline at end of file