How to use this module?

JanuszOsica
0
JanuszOsica
commented 2 years ago

Hi,
sitemap shouldn't generate on nuxt generate but only on nuxt build. Is it ok?

0
NicoPennec
2.1k
NicoPennec
commented 2 years ago

as explained on README documentation, you have to set generate: true in your nuxt.config.js file ๐Ÿ˜‰

0
juanvillegas
0
juanvillegas
commented 9 months ago

@NicoPennec What if I want it to not run at all during build? Ideally, I'd like to execute it when the first user requests it, and then use the cache version after that. Is that possible?

0
NicoPennec
2.1k
NicoPennec
commented 8 months ago

@juanvillegas if your are in SSR mode instead of Generate mode, this is the expected operation. But in Generated mode is technically impossible because the build is executed only once.

0
Informations
Question โ€ข Unresolved
#c29 - Created 2 years ago