nuxt-generate-single-route

Enables generation of one single route when using the "nuxt generate" command"

Installation

nuxt.config.js:

module.exports = {
  ...,
  buildModules: ['nuxtjs-generate-single-route']
}

Usage

nuxt generate -r "/single/route"

OR

npm run generate -- -r "/single/route"