3lang3 / react-vant

React mobile UI Components base on Vant
https://react-vant.3lang.dev
MIT License
1.31k stars 186 forks source link

🐛 [Bug]: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. #676

Closed boluo-muma closed 11 months ago

boluo-muma commented 11 months ago

Which React Vant packages are impacted?

What version of React Vant are you using?

3.3.1

Reproduce live demo(codesandebox or stackblitz)?

No response

Descripition

taro版本为3.6.6,编译H5报组件没有导出 React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

3lang3 commented 11 months ago

react-vant 并不支持 taro 哈