-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
引入组件无法渲染出视图 #7929
Comments
@vfiee 是不是漏了 |
前三个页面都有问题 |
Button是在另外一个组件里引用的,你说的这个页面是第二个/pages/authorize/index |
@vfiee 直接 目测你是使用了 因为我们会在 taro 这个 chunk 中分析引用到的组件,link 后 taro/packages/taro-mini-runner/src/plugins/TaroLoadChunksPlugin.ts Lines 60 to 73 in 3dc07ac
debug 一下上述 webpack 插件的代码,看看有没有成功分析出使用到的组件,问题应该出在这里。 |
相关平台
微信小程序
小程序基础库: 2.13.2
使用框架: React
复现步骤
地址:https://github.com/VFiee/mini-ui
1.clone项目
2.切换到dev分支
3.执行yarn example
4.微信小程序开发工具打开example/dist/weapp
期望结果
正常渲染组件
实际结果
无法正常渲染组件
环境信息
The text was updated successfully, but these errors were encountered: