-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
分包问题 #60
Comments
可以尝试把npm依赖包文件复制到本地的分包root目录下,然后分包引入本地的文件来解决。 不太清楚有没有更好的办法。 |
使用的时候遇到一个问题。我在分包中放一个静态文件 |
抱歉,上面的问题已解决。是微信开发者工具的错,重启解决问题。哎,微信开发者工具明明经常出错,我还是不长记性,一头雾水的时候居然不先怀疑这东西。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
好像用
vitesse-uni-app
开发的人不多,Issues 很冷清,一些常见问题也没人提。一些图表插件比如 echarts 非常大,用在小程序上就需要分包。但该项目会把
import
的所有包都放到全局的common/vendor.js
里,有没有什么方法,将子包的import
放到子包的common/vendor.js
里?uni-app 官方讨论:
dcloudio/uni-app#3200
The text was updated successfully, but these errors were encountered: