Skip to content
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

supportBank.vue:30 [Vue warn]: Failed to resolve component: van-index-anchor If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. #5901

Open
majinxin8023 opened this issue Oct 8, 2024 · 2 comments

Comments

@majinxin8023
Copy link

重现链接

pages.json

{
"path": "pages/payment/supportBank",
"style": {
"navigationBarTitleText": "支持银行卡列表",
"navigationStyle": "custom"
},
"usingComponents": {
"van-index-bar": "@vant/weapp/index-bar/index",
"van-index-anchor": "@vant/weapp/index-anchor/index",
"van-button": "@vant/weapp/button/index"
}
},

    在页面中直接引入, 已经安装了@vant/weapp,

Vant Weapp 版本

1.11.6

描述一下你遇到的问题。

supportBank.vue:30 [Vue warn]: Failed to resolve component: van-index-anchor
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at
at
at
at
at
at
at
at
at

重现步骤

supportBank.vue:30 [Vue warn]: Failed to resolve component: van-index-anchor
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at
at
at
at
at
at
at
at
at

设备/浏览器

No response

@majinxin8023
Copy link
Author

使用的是uni-app 进行 h5页面 开发

@TallNutAlt
Copy link

这个库只处理微信小程序的相关问题 这个是小程序版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants