-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
web components [Vue warn]: Failed to resolve component: xy-button" #1221
Comments
According to the published RFC, it should be: app.config.isCustomElement = tag => tag.startsWith('xy-') |
@Justineo Thank you for your reply, I test that there is no problem in jsbin.com, but I run vite in add in |
When pre compiling templates, it needs to be configured at the compiler level. |
@yyx990803 hi, how to achieve this (configured at the compiler level) while using vue3 and vite? Is that mean I should do it in |
ok, I got it, #1414 (comment) |
Hey, I have a js file and within it, I've created a template where I have placed my HTML code contained in component Product. in the HTML file I have imported the js file directory and likewise configured the product component in the App div. when I reload my page, I don't get my page but by logging in to console, the error is" Failed to resolve component: product |
Version
3.0.0-beta.14
Reproduction link
https://jsbin.com/zerohi/edit?html,console,output
Steps to reproduce
According to global API #30 add app.config.ignoredElements = [/ ^ xy- /] still print Vue Warn
What is expected?
Optional close warning
What is actually happening?
print Warn
The text was updated successfully, but these errors were encountered: