2018-10-29 22:16:16 +00:00
|
|
|
export default {
|
|
|
|
spa: {
|
|
|
|
alias: 's',
|
|
|
|
type: 'boolean',
|
|
|
|
description: 'Launch in SPA mode'
|
|
|
|
},
|
|
|
|
universal: {
|
|
|
|
alias: 'u',
|
|
|
|
type: 'boolean',
|
|
|
|
description: 'Launch in Universal mode (default)'
|
|
|
|
},
|
|
|
|
'config-file': {
|
|
|
|
alias: 'c',
|
|
|
|
type: 'string',
|
|
|
|
default: 'nuxt.config.js',
|
2018-11-08 09:15:56 +00:00
|
|
|
description: 'Path to Nuxt.js config file (default: `nuxt.config.js`)'
|
2018-10-29 22:16:16 +00:00
|
|
|
},
|
2018-11-07 23:37:06 +00:00
|
|
|
modern: {
|
|
|
|
alias: 'm',
|
|
|
|
type: 'string',
|
|
|
|
description: 'Build/Start app for modern browsers, e.g. server, client and false',
|
|
|
|
prepare(cmd, options, argv) {
|
|
|
|
if (argv.modern) {
|
|
|
|
options.modern = argv.modern
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-10-29 22:16:16 +00:00
|
|
|
version: {
|
|
|
|
type: 'boolean',
|
|
|
|
description: 'Display the Nuxt version'
|
|
|
|
},
|
|
|
|
help: {
|
|
|
|
alias: 'h',
|
|
|
|
type: 'boolean',
|
|
|
|
description: 'Display this message'
|
|
|
|
}
|
|
|
|
}
|