refactor: move useTemplateRef file

This commit is contained in:
Evan You 2024-07-19 10:50:06 +08:00
parent 4c03ab2224
commit 68bb48c04e
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { type ShallowRef, readonly, shallowRef } from '@vue/reactivity'
import { getCurrentInstance } from './component'
import { warn } from './warning'
import { getCurrentInstance } from '../component'
import { warn } from '../warning'
import { EMPTY_OBJ } from '@vue/shared'
export function useTemplateRef<T = unknown>(

View File

@ -62,7 +62,7 @@ export { defineComponent } from './apiDefineComponent'
export { defineAsyncComponent } from './apiAsyncComponent'
export { useAttrs, useSlots } from './apiSetupHelpers'
export { useModel } from './helpers/useModel'
export { useTemplateRef } from './apiTemplateRef'
export { useTemplateRef } from './helpers/useTemplateRef'
// <script setup> API ----------------------------------------------------------