UNPKG

vuetify-nuxt-module

Version:
15 lines (14 loc) 411 B
import { createAdapter } from "./i18n.js"; import { defineNuxtPlugin } from "#imports"; export default defineNuxtPlugin({ name: "vuetify:i18n:plugin", order: -25, // @ts-expect-error i18n plugin missing on build time dependsOn: ["i18n:plugin"], parallel: true, setup(nuxtApp) { nuxtApp.hook("vuetify:configuration", ({ vuetifyOptions }) => { createAdapter(vuetifyOptions); }); } });