#Sitemap with static and dynamic routes

2 messages · Page 1 of 1 (latest)

dry flare
#

Hello,

I'm generating a sitemap.xml with nuxt content recipe
https://content.nuxtjs.org/guide/recipes/sitemap

Dynamic routes are fine, but how to get a list of static pages under pages/ directory?

Thanks

A sitemap file is useful for helping Google to better index your website, ensuring that the content you write can be visible in search results.

dry flare
#

Can't use router.getRoutes(), nuxt instance is not available in server