diff --git a/bin/nuxt-generate b/bin/nuxt-generate index 4c49bf8b1e..d1f9cf9b6e 100755 --- a/bin/nuxt-generate +++ b/bin/nuxt-generate @@ -17,7 +17,8 @@ if (typeof options.rootDir !== 'string') { options.rootDir = rootDir } -options.build = true // Enable building +options._build = false // nuxt.generate() will call nuxt.build() itself +options._renderer = false // let nuxt.generate() create the vue renderer options.dev = false // Force production mode (no webpack middlewares called) console.log('[nuxt] Generating...') diff --git a/bin/nuxt-start b/bin/nuxt-start index b0e0f23820..4c155ffaf6 100755 --- a/bin/nuxt-start +++ b/bin/nuxt-start @@ -15,7 +15,7 @@ if (typeof options.rootDir !== 'string') { options.rootDir = rootDir } -options.build = false // Disable building +options._build = false // Disable building options.dev = false // Force production mode (no webpack middlewares called) new Nuxt(options) diff --git a/examples/hello-world/pages/about.vue b/examples/hello-world/pages/about.vue index 10b34ee7f8..84394c9639 100755 --- a/examples/hello-world/pages/about.vue +++ b/examples/hello-world/pages/about.vue @@ -1,6 +1,6 @@