diff --git a/packages/bridge/src/runtime/capi.legacy.ts b/packages/bridge/src/runtime/capi.legacy.ts index 32e6e6dc..3fa0c9cf 100644 --- a/packages/bridge/src/runtime/capi.legacy.ts +++ b/packages/bridge/src/runtime/capi.legacy.ts @@ -55,7 +55,9 @@ export { watch, watchEffect, watchPostEffect, - watchSyncEffect + watchSyncEffect, + defineAsyncComponent, + proxyRefs } from 'vue' export { ref } @@ -76,9 +78,7 @@ const warnOnce = (id, message) => { export const createApp = () => unsupported('`createApp` is not provided by Vue 2.7.') export const createRef = () => unsupported('`createRef` is not provided by Vue 2.7.') -export const defineAsyncComponent = () => unsupported('`defineAsyncComponent` is not provided by Vue 2.7.') export const isRaw = () => unsupported('`isRaw` is not provided by Vue 2.7.') -export const proxyRefs = () => unsupported('`proxyRefs` is not provided by Vue 2.7.') export const warn = () => unsupported('`warn` is not provided by Vue 2.7.') // Warn in case of having any imports from `@nuxtjs/composition-api`