try to fix css issue

This commit is contained in:
Salem Yaslem 2023-05-15 16:02:59 +03:00
parent 4f4b084b2a
commit 7819842235
2 changed files with 6 additions and 2 deletions

View File

@ -1,10 +1,14 @@
// https://nuxt.com/docs/api/configuration/nuxt-config // https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({ 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, ssr: false,
build: { build: {
transpile: ['vuetify'], transpile: ['vuetify'],
}, },
plugins: ['~/plugins/vuetify'],
vite: { vite: {
define: { define: {
'process.env.DEBUG': false, 'process.env.DEBUG': false,

View File

@ -6,7 +6,7 @@ export default defineNuxtPlugin(nuxtApp => {
const vuetify = createVuetify({ const vuetify = createVuetify({
ssr: false, ssr: false,
components, components,
directives, directives
}) })
nuxtApp.vueApp.use(vuetify) nuxtApp.vueApp.use(vuetify)