0๐
I had the same problem
in nuxt.config ts you need to set builder:"webpack"
and write your config in webpack section f.e.
export default defineNuxtConfig({
builder:"webpack",
css:["~~/assets/sass/_index.scss"],// your css
webpack: {
extractCSS: true,
optimization: {
splitChunks: {
cacheGroups: {
styles: {
name: 'styles',
test: /\.(css|vue)$/,
chunks: 'all',
enforce: true
}
}
}
}
}
})
0๐
this worked for me:
export default defineNuxtConfig({
...
experimental: {
inlineSSRStyles: false,
},
...
});
- [Vuejs]-How do you set the default value for multiple selects on a page with vuetify?
- [Vuejs]-Upload a Base64 String with GraphQL mutation
Source:stackexchange.com