mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Added .catch(console.error) to nuxt.ready()
This commit is contained in:
parent
be72f15c6b
commit
87b53674e4
@ -104,7 +104,7 @@ let config = require('./nuxt.config.js')
|
|||||||
config.dev = (process.env.NODE_ENV !== 'production')
|
config.dev = (process.env.NODE_ENV !== 'production')
|
||||||
|
|
||||||
let nuxt = new Nuxt(config)
|
let nuxt = new Nuxt(config)
|
||||||
nuxt.ready()
|
nuxt.ready().catch(console.error)
|
||||||
|
|
||||||
// Start build process (only in development)
|
// Start build process (only in development)
|
||||||
if (config.dev) {
|
if (config.dev) {
|
||||||
|
Loading…
Reference in New Issue
Block a user