Error during nuxi generate
in link[href] with data url containing slashes
#1431
Labels
nuxi generate
in link[href] with data url containing slashes
#1431
Forwarded from downstream issue:
nuxi generate
in link[href] with data url containing slashes nuxt/nuxt#22134 by @fabon-fEnvironment
Reproduction
https://stackblitz.com/edit/github-nj2nvg?file=pages%2Findex.vue
Describe the bug
Running
nuxi generate
raises an error when a project contains a HTML snippet like below.In this reproduction, nitro recognize
/ccc
as a linked page path by mistake. Route/ccc
doesn't exist so it causes error innuxi generate
.(workaround: setting
nitro.prerender.failOnError
config tofalse
to simply ignore 404 error in prerendering)Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: