I'm using https://github.com/nuxt-community/router-module module and I add some custom routes inside router.js file. But because sitemap uses nuxt extendroutes() feature those custom routes font come into sitemap. I also can't add these manually because they are dynamic and based on static nuxt pages.
I add routes like this in loop =>
// if example-x-page does not exists create it
What problem does this feature solve?
Hi,
I'm using https://github.com/nuxt-community/router-module module and I add some custom routes inside router.js file. But because sitemap uses nuxt extendroutes() feature those custom routes font come into sitemap. I also can't add these manually because they are dynamic and based on static nuxt pages.
I add routes like this in loop => // if example-x-page does not exists create it
What does the proposed changes look like?
Support @nuxtjs/router module or enable to access generated .nuxt/routes.js file in routes() function.