Make sitemap module compatible with output from @nuxtjs/router

AlanLeonard
0
AlanLeonard
commented 3 months 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.

idea
0
Informations
Feature Request โ€ข Open
#c76 - Created 3 months ago