mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 00:52:01 +00:00
fix(nuxt3): add missing getCurrentInstance
import for useAsyncData
(#783)
This commit is contained in:
parent
0891c0e75d
commit
5764042dbb
@ -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'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user