Enables generation of one single route when using the "nuxt generate" command"
nuxt.config.js
:
module.exports = {
...,
buildModules: ['nuxtjs-generate-single-route']
}
nuxt generate -r "/single/route"
OR
npm run generate -- -r "/single/route"
Enables generation of one single route when using the "nuxt generate" command"
nuxt.config.js
:
module.exports = {
...,
buildModules: ['nuxtjs-generate-single-route']
}
nuxt generate -r "/single/route"
OR
npm run generate -- -r "/single/route"