Generates a JSON file with a representation of the generated route structure in your nuxt app.
nuxt.config.js
:
module.exports = {
...,
buildModules: ['nuxtjs-routes-overview']
}
The generated _routes-map.json
file will be placed in the dist/
directory.
nuxt generate
OR
npm run generate