nuxt-community / sitemap-module

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

Make sitemap module compatible with output from @nuxtjs/router #98

Open AlanLeonard opened 4 years ago

AlanLeonard commented 4 years ago

What problem does this feature solve?

Currently, if I want to use the @nuxtjs/router I'm left with a blank sitemap which doesn't take into account the custom routes I added manually in my router.js file as per @nuxtjs/router documentation. This would eliminate redundancy of definition of routes

What does the proposed changes look like?

Instead of using the result of createRoutes from nuxt, the manual router.js code could be parsed and used.

This feature request is available on Nuxt community (#c76)
Ghustavh97 commented 2 years ago

2 years later and still no response to this issue, this is quite disappointing.