mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(vue-renderer): await on spa:templateParams
hook (#5619)
fixes #5601
This commit is contained in:
parent
83e378ad5e
commit
56d5c0c548
@ -137,7 +137,7 @@ export default class SPARenderer extends BaseRenderer {
|
||||
}
|
||||
|
||||
// Call spa:templateParams hook
|
||||
this.serverContext.nuxt.callHook('vue-renderer:spa:templateParams', templateParams)
|
||||
await this.serverContext.nuxt.callHook('vue-renderer:spa:templateParams', templateParams)
|
||||
|
||||
// Render with SPA template
|
||||
const html = this.renderTemplate(this.serverContext.resources.spaTemplate, templateParams)
|
||||
|
Loading…
Reference in New Issue
Block a user