diff --git a/nuxt.config.ts b/nuxt.config.ts index 35dabdc..c7976f4 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,10 +1,14 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - css: ['vuetify/lib/styles/main.sass', 'vuetify/lib/components/VCode/VCode.css', '@mdi/font/css/materialdesignicons.min.css',], + css: [ + 'vuetify/lib/styles/main.sass', + '@mdi/font/css/materialdesignicons.min.css' + ], ssr: false, build: { transpile: ['vuetify'], }, + plugins: ['~/plugins/vuetify'], vite: { define: { 'process.env.DEBUG': false, diff --git a/plugins/vuetify.ts b/plugins/vuetify.ts index b29c7b8..33811d3 100644 --- a/plugins/vuetify.ts +++ b/plugins/vuetify.ts @@ -6,7 +6,7 @@ export default defineNuxtPlugin(nuxtApp => { const vuetify = createVuetify({ ssr: false, components, - directives, + directives }) nuxtApp.vueApp.use(vuetify)