You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, after the project building the sitemap.xml generated only existing routes that are located in the pages folder, without fetching routes from the API and including them in the sitemap
Describe the bug
Having the issue with the generation of dynamic URLs, using Handling dynamic URLs method.
Initializing the sitemap module in the nuxt.config.ts
sitemap: { siteUrl: 'https://website.com, autoLastmod: false, },
In the server/api/_sitemap-urls.ts
API returns the urls like:
However, after the project building the sitemap.xml generated only existing routes that are located in the pages folder, without fetching routes from the API and including them in the sitemap
It was also noted that the original example of Handling dynamic URLs throws an error
Reproduction
Install Nuxt 3.3.1 alongside nuxt-simple-sitemap 2.4.11, create the server api to fetch dynamic urls
System / Nuxt Info
No response
The text was updated successfully, but these errors were encountered: