#Nuxt3 SSG Generate structure

11 messages · Page 1 of 1 (latest)

distant sphinx
#

The structure generated under the default configuration is: /a/index.html, /b/index.html, is there any way to generate /a.html, /b.html ...

#

the problem is the link during development is :to="/about", but after the HTML is generated, the link can not find /about/

pallid silo
#

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

distant sphinx
#

experimental: {
// payloadExtraction: false,
},

#

i disable this line ,it works

#

thank you ..But after refreshing, / will be automatically added, I am researching

slim burrow