1***@qq.com
1***@qq.com
  • 发布:2022-07-28 17:52
  • 更新:2022-07-29 13:17
  • 阅读:2624

uniapp版本vue3,使用vant3.0运行到小程序报错

分类:uni-app

在h5上面运行正常,运行到微信小程序就报错了

17:47:03.140 vite v2.9.14 building for development...
17:47:03.146 (node:14844) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at E:\obejct\uni-preset-vue-vite\node_modules\vuex\package.json.
17:47:03.150 Update this package.json to use a subpath pattern like "./*".
17:47:03.151 (Use node --trace-deprecation ... to show where the warning was created)
17:47:06.790 '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
17:47:06.803 at ../node_modules/@vant/use/dist/index.esm.mjs:79:2
17:47:06.804 77: // src/useRelation/useChildren.ts
17:47:06.818 78: import {
17:47:06.827 79: isVNode,
17:47:06.834 ^
17:47:06.834 80: provide,
17:47:06.840 81: reactive,

2022-07-28 17:52 负责人:无 分享
已邀请:
DCloud_UNI_WZF

DCloud_UNI_WZF

vue 版本 vant3 不兼容微信小程序,多端项目引入的组件库,同样需要是跨端组件库(比如 uni-ui)

要回复问题请先登录注册