fix(nuxt3): add missing getCurrentInstance import for useAsyncData (#783)

This commit is contained in:
Pooya Parsa 2021-10-12 17:19:06 +02:00
parent 0891c0e75d
commit 5764042dbb

View File

@ -1,4 +1,4 @@
import { onBeforeMount, onUnmounted, ref } from 'vue' import { onBeforeMount, onUnmounted, ref, getCurrentInstance } from 'vue'
import type { Ref } from 'vue' import type { Ref } from 'vue'
import { NuxtApp, useNuxtApp } from '#app' import { NuxtApp, useNuxtApp } from '#app'