mirror of
https://github.com/xlmnxp/extractify.zip.git
synced 2024-11-23 17:13:12 +03:00
last try to fix VCode issue
This commit is contained in:
parent
a7fff187d4
commit
c7fb708af2
@ -1,24 +1,12 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
|
||||
;(global as any).CSS = { supports: () => false }
|
||||
|
||||
export default defineNuxtConfig({
|
||||
css: [
|
||||
'vuetify/lib/styles/main.sass',
|
||||
'vuetify/lib/styles/main.css',
|
||||
'@mdi/font/css/materialdesignicons.min.css'
|
||||
],
|
||||
ssr: false,
|
||||
build: {
|
||||
transpile: ['vuetify'],
|
||||
},
|
||||
// disable vite externals and ssr
|
||||
vite: {
|
||||
optimizeDeps: {
|
||||
exclude: ['vuetify'],
|
||||
},
|
||||
ssr: {
|
||||
noExternal: ['vuetify'],
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -4,7 +4,7 @@ import * as directives from 'vuetify/directives'
|
||||
|
||||
export default defineNuxtPlugin(nuxtApp => {
|
||||
const vuetify = createVuetify({
|
||||
ssr: true,
|
||||
ssr: false,
|
||||
components,
|
||||
directives
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user