mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
chore(readme): Add await nuxt.ready()
This commit is contained in:
parent
77dcfe6ee8
commit
45f1edd4cd
@ -104,6 +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)
|
||||||
|
await nuxt.ready()
|
||||||
|
|
||||||
// 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