You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will allow people to generate routes (via an api) for the generate routes method in nuxt.config.js, cache the results and then pass the cache on to this sitemap module.
Version
0.1.1
Reproduction link
https://github.com/nuxt-community/sitemap-module
Steps to reproduce
Create a new routes section in your nuxt.config.js file with a
console.log
statement like so:What is expected ?
Only one log is output during generate.
What is actually happening?
Multiple log entries are output:
Additional comments?
This is an issue because with a dynamically generated set of routes, the API gets hit twice for every request (as far as I can tell).
Using 1.4.0 of nuxt.
The text was updated successfully, but these errors were encountered: