veaury icon indicating copy to clipboard operation
veaury copied to clipboard

[Vue warn]: Invalid vnode type when creating vnode: undefined.

Open zhaozhongyu opened this issue 2 years ago • 10 comments

helloworld.vue内容

<script setup>
  import { onMounted } from 'vue';
    onMounted(() => {
        console.log('mounted');
    })

</script>

<template>
  <div>hello world</div>
</template>

react中引用:

import { applyVueInReact, applyPureVueInReact } from 'veaury';
import helloworld from './helloworld.vue';

const HelloWorld = applyVueInReact(helloworld);

// <HelloWorld></HelloWorld>

此时控制台提示 image

界面的元素: image

zhaozhongyu avatar Jul 25 '23 03:07 zhaozhongyu

@zhaozhongyu 提供一个范例项目给我

devilwjp avatar Jul 25 '23 03:07 devilwjp

@zhaozhongyu Were you able to solve this issue?

Parag2385 avatar Jan 31 '24 17:01 Parag2385