-
Notifications
You must be signed in to change notification settings - Fork 446
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
uni.requireNativePlugin is not a function #34
Comments
请问是否最新的代码 |
是的,今天准备在新的项目中尝试使用2.0的库 |
在App.vue的onLaunch方法中增加代码覆盖uni报错: uni.requireNativePlugin = () => {}; // #endif |
遇到了相同的问题, 我在 vue.config.js中添加了 transpileDependencies: ['@dcloudio/uni-ui', 'uview-ui'] 之后可以了 |
遇到了相同的问题,应该是个popup这个组件有关 我在 vue.config.js中添加了 transpileDependencies: ['@dcloudio/uni-ui', 'uview-ui'] 之后可以了 |
vue3 中怎么解决 |
一样的吧,我现在用的就是vue3 |
使用vite脚手架创建的项目 没有 vue.config.js ,大佬报错几天了,求解决方案 |
vite的叫vite.config.js|ts |
在HBuilderX中编译是正常的也打开了微信开发者工具了,但是微信开发者工具中报错了
Originally posted by @cxy-coder in #9 (comment)
The text was updated successfully, but these errors were encountered: