mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
hotfx(vue-app): app is not defined
[release]
This commit is contained in:
parent
8cf3961e51
commit
44f471f141
@ -134,7 +134,7 @@ export default {
|
||||
if (this.isPreview) {
|
||||
if (this.$store && this.$store._actions.nuxtServerInit) {
|
||||
<% if (loading) { %>this.$loading.start()<% } %>
|
||||
await app.$store.dispatch('nuxtServerInit', this.context)
|
||||
await this.$store.dispatch('nuxtServerInit', this.context)
|
||||
}
|
||||
await this.refresh()
|
||||
<% if (loading) { %>this.$loading.finish()<% } %>
|
||||
|
Loading…
Reference in New Issue
Block a user