Open nuochong opened 3 years ago
vue2 components
<template> <div> <button @click="test()"> Open full screen modal! (With teleport!) </button> </div> </template>
vue3 use
import toVue3 from 'vue-2-3/to-vue-3'; import Vue2 from 'vue2'; import * as Vue3 from 'vue'; toVue3.register(Vue2, Vue3); import HelloWorld from '../../../vue-test-2/src/components/HelloWorld' let hello = toVue3(HelloWorld) export default { name: 'Home', components: { HelloWorld:hello } }
dom
error
version win10 x64 vue@^3.0.2 vue@^2.6.12
Thanks for the issue @nuochong
I tried reproducing your error here but it seems to work fine.
Can you provide a CodePen reproduction or a minimal reproduction repo?
vue2 components
vue3 use
dom
error
version win10 x64 vue@^3.0.2 vue@^2.6.12