Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Double run on generate #27
Steps to reproduce
Create a new routes section in your nuxt.config.js file with a
What is expected ?
Only one log is output during generate.
What is actually happening?
Multiple log entries are output:
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.
Looking at this some more, I think it would be best to trigger the sitemap generation on the
This will allow people to generate routes (via an api) for the generate