DEV Community

loading...

Discussion on: Sitemap for dynamic routes in NuxtJS

Collapse
takburgerap profile image
takburger

I wondered why the generate was able to display everything I needed for my sitemap and the sitemap module couldn't. Seems counterintuitive.
That's a great tutorial.
Could you add the bit of typescript but in JS ? I'm too poorly skilled to unpack your TS and try to put it in my project. I also tried to add TS to my nuxt project but it throws an error and I'm not too kin to add 3 packages just for this.

Collapse
andynoir profile image
Andrey Gaisinskii Author

Regarding your question about sitemap module not generating dynamic routes: github.com/nuxt-community/sitemap-... i think that maintainers of the module filter out the dynamic routes.

And here is none-typescript version of the project - github.com/andynoir/artcile-nuxt-d...

Collapse
takburgerap profile image
takburger

Thank you so much