mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Add "resourcesLoaded" plugin for Renderer
Provide the ability to modify resources before use.
This commit is contained in:
parent
251d87914d
commit
fd07d1ff38
@ -108,6 +108,9 @@ export default class Renderer extends Tapable {
|
||||
this.resources.loadingHTML = ''
|
||||
}
|
||||
|
||||
// Call resourcesLoaded plugin
|
||||
await this.applyPluginsAsync('resourcesLoaded', this.resources)
|
||||
|
||||
if (updated.length > 0) {
|
||||
// debug('Updated', updated.join(', '), isServer)
|
||||
this.createRenderer()
|
||||
|
Loading…
Reference in New Issue
Block a user