2023-05-15 03:32:16 +03:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
2023-05-15 16:25:49 +03:00
|
|
|
|
|
|
|
;(global as any).CSS = { supports: () => false }
|
|
|
|
|
2023-05-15 03:32:16 +03:00
|
|
|
export default defineNuxtConfig({
|
2023-05-15 16:02:59 +03:00
|
|
|
css: [
|
|
|
|
'vuetify/lib/styles/main.sass',
|
|
|
|
'@mdi/font/css/materialdesignicons.min.css'
|
|
|
|
],
|
2023-05-15 03:32:16 +03:00
|
|
|
ssr: false,
|
|
|
|
build: {
|
|
|
|
transpile: ['vuetify'],
|
|
|
|
},
|
2023-05-15 16:16:37 +03:00
|
|
|
// disable vite externals and ssr
|
2023-05-15 03:32:16 +03:00
|
|
|
vite: {
|
2023-05-15 16:16:37 +03:00
|
|
|
optimizeDeps: {
|
|
|
|
exclude: ['vuetify'],
|
2023-05-15 03:32:16 +03:00
|
|
|
},
|
2023-05-15 16:11:55 +03:00
|
|
|
ssr: {
|
|
|
|
noExternal: ['vuetify'],
|
|
|
|
}
|
2023-05-15 03:32:16 +03:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|