Closed newyee closed 1 year ago
I added the following section to nuxt.config.ts as referenced in the link you provided, but I encountered warnings, and the page couldn't be displayed:
hooks: {
'vite:extendConfig': (config) => {
config.plugins!.push(
vuetify({
styles: {
configFile: 'assets/main.scss',
},
})
);
},
},
Several warnings were output, such as:
"Sourcemap for 'plugin-vuetify:components/VResponsive/VResponsive.sass' points to missing source files." "[9:09:46] WARN Sourcemap for 'plugin-vuetify:components/VProgressLinear/VProgressLinear.sass' points to missing source files." "[9:09:50] WARN Sourcemap for 'plugin-vuetify:components/VSelectionControlGroup/VSelectionControlGroup.sass' points to missing source files."
Environment
Vuetify Version: 3.3.3 Vue Version: 3.3.4 Browsers: Chrome 116.0.0.0 OS: Windows 10
Steps to reproduce
Configure nuxt.config.ts as follows:
Expected Behavior
The max-width of the areas where is used has been set to 1190px.
Actual Behavior
The has the default value set before overwriting.
Reproduction Link
https://github.com/newyee/nuxt-site