-
Notifications
You must be signed in to change notification settings - Fork 99
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
Composition API Not Working with Web Components #77
Comments
@milky2028 Please describe what you mean by "not working". And a link to the repo. I too am facing issues but we need to check whether it's a bug in vue / vue-web-component-wrapper or our own code. |
Essentially just that values aren't showing up in the template, nor do they seem to connect to the template. Here is my minimal repo. I committed the output files for the web components build, so you should be able to inspect the output and view the results by just running |
I created a StackOverflow question with minimal reproducing code since I'm not yet sure that there is a bug: https://stackoverflow.com/questions/61506239/vuejs-children-is-empty-when-using-slots-in-the-webcomponent-build However, VueJS does need to improve their docs on how to make sure that VueComponent and Webcomponent functionality has parity. |
As for the entry In other word, |
@nandin-borjigin But now we have another problem:
Error message:
Maybe the Problem is that a |
When building web components with the CLI, components that use @vue/composition-api do not work. I have a minimal repo if anyone needs to see it. I understand if this is a thing that got pushed to the back burner until Vue 3 is stable.
Also, there have been some notes about this project being dead. Please, don't let this project die! If you compare this to some other web components solutions, this one has significantly more downloads on NPM. This data isn't perfect, but it feels like a solid barometer for how important this project is. I'm willing to submit PRs if someone can point me in the right direction.
NPM Downloads Per Week
@vue/web-components-wrapper | 468,000
lit-html | 109,000
lit-element | 89,000
@angular/elements | 59,000
@stencil/core | 24,000
The text was updated successfully, but these errors were encountered: