Alang
Alang
  • 发布:2024-09-12 00:40
  • 更新:2024-09-12 12:39
  • 阅读:199

uniapp 打包到微信开发工具 H5可以运行,Component is not found in path "xxx" 好奇怪

分类:HBuilderX

uniapp打包到微信开发工具,Component is not found in path "xxx" 好奇怪一直找不到问题 , 路径是没问题 应h5 是正常 微信不正常 : Component is not found in path "pageb/alang/alang" (using by "pages/my/about")(env: macOS,mp,1.06.2402040; lib: 2.21.4)
"subPackages":[
{
"root":"pageb" ,
"pages":[
{
"path" : "index/chart-line",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path" : "components/tm-echarts/tm-echarts",

                "style" :    
                {  
                    "navigationBarTitleText" : ""  
                }   
            },  
            {  
                "path" : "alang/alang",  
                "style" :   
                {  
                    "navigationBarTitleText" : "",  
                    "enablePullDownRefresh": false  
                }  
            }   
        ]  
    }  
],  
2024-09-12 00:40 负责人:无 分享
已邀请:
DCloud_UNI_yuhe

DCloud_UNI_yuhe

你这是不是跨包调用组件了,得把它放一个包里面才可以

杨杨得亿

杨杨得亿 - 这个人很懒,什么都没有留下~

应该是分包的问题,建议查一下引用组件的路径

要回复问题请先登录注册