Open
Description
Since v0.18.0, adding the configFile
to customize the vuetify/settings
scss variables breaks the vuetify styling on server side.
When loading the app, we can see the components have no style, and then it gets loaded on client side correctly.
Reverting the version to v0.17.x fixes the issue.
Reproduction on Stackblitz: https://stackblitz.com/edit/github-6wavaj?file=package.json
// nuxt.config.ts
export default defineNuxtConfig({
ssr: true,
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
modules: ['vuetify-nuxt-module'],
css: ['./assets/styles/vuetify-globals.scss'],
vuetify: {
moduleOptions: {
disableVuetifyStyles: true,
styles: {
configFile: './assets/styles/vuetify-components.scss', // <-- remove this and the SSR styles work
},
},
},
features: {
inlineStyles: true,
},
});
Metadata
Metadata
Assignees
Labels
No labels