执行操作:
app.vue中
pages.json中,执行了一个分包后引入
"usingComponents": {
"van-button": "/wxcomponents/vant-weapp/button/index"
}
使用:
报错没有找到van-button组件:<van-button> - did you register the component correctly?
使用的是jeecg-uniapp这个前端,
使用了uni-simple-router插件
将前置守卫的token判断注释掉了,别的都没改。
将usingComponents放在uni-simple-router插件中也无效。
---
求各位大佬指点迷津,谢谢!
遇到同样的问题,请问你解决了吗