From 78198422356829cacd5f833f9942fa18870264e1 Mon Sep 17 00:00:00 2001 From: Salem Yaslem Date: Mon, 15 May 2023 16:02:59 +0300 Subject: [PATCH] try to fix css issue --- nuxt.config.ts | 6 +++++- plugins/vuetify.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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)