nuxt-community / sitemap-module

Sitemap Module for Nuxt 2
https://sitemap.nuxtjs.org
MIT License
690 stars 127 forks source link

Find dynamic routes based on generated static output #251

Open iplanwebsites opened 2 years ago

iplanwebsites commented 2 years ago

It'd be great to generate the sitemap.xml in a separate process after static build (by looking at the generated file tree). The static builder does as great job at crawling all pages and finding all links within them.

I wouldn't mind to generate the sitemap manually using a CLI command and commit it in the repo.

iBobik commented 2 years ago

Do you mean this? https://github.com/nuxt-community/sitemap-module/pull/170

katerlouis commented 1 year ago

@iplanwebsites have you gotten this setup to work? I'm looking for exactly the same and am wondering why this is not asked more frequently? It feels very natural to me to want exactly the outputted static pages to be included in the sitemap.

richgcook commented 1 year ago

Tim Benniks mentions this in a YouTube video from 3 years ago...

https://www.youtube.com/watch?v=oXJHEw-10aQ