-
Notifications
You must be signed in to change notification settings - Fork 834
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
[question]taro3 vue3 nutui3 开发微信小程序 Runtime warning #551
Comments
InfiniteLoading 也同样错误 |
这里边存在两个问题。
这是编译打包时造成的问题。编译 目前 NutUI Taro Vue 版本打包时没处理这点: nutui/vite.config.build.taro.vue.ts Line 25 in a33c6e1
配置好 // 此处有误
const SwiperItem = resolveComponent('swiper-item')
return createVNode(SwiperItem)
目前 Taro Vue 是通过 vue-loader 来收集使用到的小程序标签的。 以这个 issue 为例,如果楼主的代码中没有用到过原生的 NutUI 还需要提供一个 Taro 插件来帮助开发者收集 NutUI 中使用到的小程序组件。 |
@richard1015 @szg2008 |
这个错误到现在还存在 |
还没解决吗 |
貌似还是没有解决呀 |
有人解决这个问题吗? |
你想知道什么?
index.vue 代码如下:
app.js 代码如下:
描述你考虑过的替代方案
build:weapp
和dev:weapp
结果都一样。文档中的 全量引入和按需引入都试过,结果一样。
The text was updated successfully, but these errors were encountered: