-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Added custom components interop migration section #177
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two minor rephrase suggestions, but thanks for finishing this one! It looks great!
|
||
## Autonomous Custom Elements | ||
|
||
If we want to add a custom element defined outside of Vue (e.g. using the Web Components API), we need to 'instruct' Vue to treat it as a custom element. Let's use the following template as an example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to add a custom element defined outside of Vue (e.g. using the Web Components API), we need to 'instruct' Vue to treat it as a custom element. Let's use the following template as an example. | |
If we want to add a custom element defined outside of Vue (e.g. using the Web Components API), we need to 'instruct' Vue to treat it as a custom element. Let's use the following component as an example. |
Is component more accurate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bencodezen ugh, it's complicated 😅 it's a custom element, not Vue component, that's why I used template
word here
Co-authored-by: Ben Hong <[email protected]>
is
atributev-is
directiveNote:
Customized Built-in Elements
section doesn't follow our common2.x/3.x
syntax but it was more logical to have the current flow. I'm open to any improvements though! 😅Close #150