今天10月19日更新开发工具后,打开项目报错,["usingComponents"]["van-notice-bar"] 未找到,在json文件中原先组件的配置路径为
"usingComponents": {
"van-notice-bar": "/@vant/weapp/notice-bar"
}
解决方式为:去掉开头的 / 如下
"usingComponents": {
"van-notice-bar": "@vant/weapp/notice-bar"
}
今天10月19日更新开发工具后,打开项目报错,["usingComponents"]["van-notice-bar"] 未找到,在json文件中原先组件的配置路径为
"usingComponents": {
"van-notice-bar": "/@vant/weapp/notice-bar"
}
解决方式为:去掉开头的 / 如下
"usingComponents": {
"van-notice-bar": "@vant/weapp/notice-bar"
}
1 个回答
你好,具体是哪个版本的工具,提供下代码片段看下(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)