Sitemap with static and dynamic routes
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?
ThanksSitemap · Nuxt Content
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.
1 Reply
Can't use router.getRoutes(), nuxt instance is not available in server