mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
Warning if loadingIndicator not found
This commit is contained in:
parent
06a3d65ebf
commit
e709fa4bff
@ -287,6 +287,8 @@ export default class Builder extends Tapable {
|
|||||||
dst: 'loading.html',
|
dst: 'loading.html',
|
||||||
options: this.options.loadingIndicator
|
options: this.options.loadingIndicator
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
console.error(`Could not fetch loading indicator: ${this.options.loadingIndicator.name}`) // eslint-disable-line no-console
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user