/nuxtjs-routes-overview

Nuxt.js build module that generated a JSON file with a representation of the generated route structure in your Nuxt app.

Primary LanguageJavaScript

nuxtjs-routes-overview

Generates a JSON file with a representation of the generated route structure in your nuxt app.

Installation

nuxt.config.js:

module.exports = {
    ...,
    buildModules: ['nuxtjs-routes-overview']
}

Usage

The generated _routes-map.json file will be placed in the dist/ directory.

nuxt generate

OR

npm run generate