-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Vue version
3.2.37
Link to minimal reproduction
https://codesandbox.io/s/vue-custom-element-prueba-concepto-c6b846
Steps to reproduce
Issue
I have been doing a solution to implement Web components with Vue.
This solution needs to use plugins, so I had to implement the defineCustomElement by overwriting the setup. When this procedure is done, the emit does not send parameters.
It is also not recognizing custom events; it is only recognizing native events like click.
So, in short, I need to send parameters through the emit and overwriting the setup of the defineCustomElement (to be able to inject plugins like the router).
What is expected?
I am waiting to receive the parameters sent through the event and the custom event
What is actually happening?
does not recognize the custom event or the event parameters
System Info
System:
OS: Linux 5.15 Manjaro Linux
CPU: (8) x64 AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 11.43 GB / 17.52 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
Yarn: 1.22.19 - /usr/bin/yarn
npm: 8.18.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
npmPackages:
vue: ^3.2.37 => 3.2.37
Any additional comments?
It is webComponent.
Metadata
Metadata
Assignees
Labels
No labels