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
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,

View File

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