fix(cli): enable server for implicit SPA generate in nuxt build

revert it back with nuxt 3
This commit is contained in:
pooya parsa 2019-03-21 14:29:05 +03:30
parent 89fd80c2ce
commit c46def75cf

View File

@ -61,7 +61,7 @@ export default {
} }
}, },
async run(cmd) { async run(cmd) {
const config = await cmd.getNuxtConfig({ dev: false, server: false }) const config = await cmd.getNuxtConfig({ dev: false })
const nuxt = await cmd.getNuxt(config) const nuxt = await cmd.getNuxt(config)
if (cmd.argv.lock) { if (cmd.argv.lock) {