We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
globals.nuxt
1 parent 124ab40 commit c8e7397Copy full SHA for c8e7397
packages/vue-app/template/mixins/fetch.client.js
@@ -53,7 +53,7 @@ function created() {
53
}
54
55
async function $fetch() {
56
- this.$nuxt.nbFetching++
+ this.<%= globals.nuxt %>.nbFetching++
57
this.$fetchState.pending = true
58
this.$fetchState.error = null
59
this._hydrated = false
@@ -75,6 +75,6 @@ async function $fetch() {
75
this.$fetchState.pending = false
76
this.$fetchState.timestamp = Date.now()
77
78
- this.$nextTick(() => this.$nuxt.nbFetching--)
+ this.$nextTick(() => this.<%= globals.nuxt %>.nbFetching--)
79
80
0 commit comments