vant-weapp icon indicating copy to clipboard operation
vant-weapp copied to clipboard

[Bug Report] "isVNode" is not exported by "node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"

Open windf17 opened this issue 6 months ago • 3 comments

重现链接

[email protected] dev:mp-weixin

uni -p mp-weixin

请注意运行模式下,因日志输出、sourcemap 以及未压缩源码等原因,性能和包体积,均不及发行模式。若要正式发布,请点击发行菜单或使用 cli 发布命令进行发布 正在编译中... node_modules/@vant/use/dist/index.esm.mjs (79:2): "isVNode" is not exported by "node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js", imported by "node_modules/@vant/use/dist/index.esm.mjs". file: E:/works/StampExhibition/stamp_uniapp/node_modules/@vant/use/dist/index.esm.mjs:79:2

77: // src/useRelation/useChildren.ts 78: import { 79: isVNode, ^ 80: provide, 81: reactive,

at ../node_modules/@vant/use/dist/index.esm.mjs:79:2 77: // src/useRelation/useChildren.ts 78: import { 79: isVNode, ^ 80: provide, 81: reactive,

Vant Weapp 版本

4.9.3

描述一下你遇到的问题。

编译成h5一切正常,但是编译到微信小程序时报错了。

重现步骤

npm run dev:mp-weixin

基于uni-app、vue3.4、vite5.3.5

设备/浏览器

No response

windf17 avatar Aug 07 '24 03:08 windf17