You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer, I want to be able to change the behaviour of the vue compiler for Vue components by simply adding a special query to the import.
Currently, it is not possible to have one Vue component as a custom element and a normal Vue component.
Suggested solution
Like the special queries for Assets in Vite, see docs. We could have similar queries for customElement imports without changing the global Vue plugin configurations or changing the file extension.
importButtonfrom'./Button.vue?customElement';// Will import like it is an customElement. Like `button.ce.vue`
Related plugins
plugin-vue
plugin-vue-jsx
Description
As a developer, I want to be able to change the behaviour of the vue compiler for Vue components by simply adding a special query to the import.
Currently, it is not possible to have one Vue component as a custom element and a normal Vue component.
Suggested solution
Like the special queries for Assets in Vite, see docs. We could have similar queries for customElement imports without changing the global Vue plugin configurations or changing the file extension.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: