#Nuxt3 SSG Generate structure
11 messages · Page 1 of 1 (latest)
the problem is the link during development is :to="/about", but after the HTML is generated, the link can not find /about/
This looks to be hard coded, you could try modify the _route fileName with this nitro hook prerender:generate
looks like vue-router will strip the leading slash by default (strict option)
have you disabled scripts or something though? the hydrated navigation should be able to find the payload
presumebly
experimental: {
// payloadExtraction: false,
},
i disable this line ,it works
thank you ..But after refreshing, / will be automatically added, I am researching
yes, this is the best way to change the location of the file