Browse Source

chore: use relative import location instead of package (#9941)

Carlos Rodrigues 2 năm trước cách đây
mục cha
commit
4c20f502ca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/runtime-core/src/apiWatch.ts

+ 1 - 1
packages/runtime-core/src/apiWatch.ts

@@ -42,7 +42,7 @@ import { warn } from './warning'
 import { DeprecationTypes } from './compat/compatConfig'
 import { checkCompatEnabled, isCompatEnabled } from './compat/compatConfig'
 import type { ObjectWatchOptionItem } from './componentOptions'
-import { useSSRContext } from '@vue/runtime-core'
+import { useSSRContext } from './helpers/useSsrContext'
 
 export type WatchEffect = (onCleanup: OnCleanup) => void