Some issues that arose during the Nuxt3 Upgrade were worked around. These should be undone, but until that time we at least document them here:
This error occurred (at least) in dev mode.
Worked around this by disabling sourcemaps in `nuxt.config.ts``
sourcemap: {
server: false,
client: false,
}
According to: vuetifyjs/vuetify-loader#290
Using SASS variables with Vuetify caused invalid requests to be made. Worked around this by adding a server plugin that removes the offending null character in these requests.
See server/plugins/vuetify.fix.ts
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('render:response', (response: any) => {
response.body = response.body.replaceAll('/_nuxt/\0', '/_nuxt/')
})
})
According to: nuxt/nuxt#15412 (comment)