用了mpvue+vant-weapp 真机调试都是正常的
vconsole的报错
MiniProgramError
Error: module "static/vant-weapp/src/pages/index/vue.js" is not defined
Error: module "static/vant-weapp/src/pages/index/vue.js" is not defined
at require (WASubContext.js:2:2495196)
at at (WASubContext.js:2:2494571)
at require (static/vant-weapp/src/pages/index/main.js:1:1)
at require (WASubContext.js:2:2495429)
at at (app-service.js:6362:10)
vant-weapp的引用是app.json:
看起来像是引用路径的问题, 但是不知道为什么引用会变成这样
遇到同样问题 求解
预览和体验开启调试看看有没有报错信息