Skip to content
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

fix(custom-elements): Add children component styles fix #4662 #4695

Conversation

raffobaffo
Copy link

The intent of this PR is to fix the problematic of customElements not having injected styles of children components. A working example to reproduce the problem is available here ;

…ted components. Missing feature, store available styles to avoid dupes. close vuejs#4662
…ted components. Missing feature, store available styles to avoid dupes. close vuejs#4662
…ted components. Missing feature, store available styles to avoid dupes. close vuejs#4662
@raffobaffo raffobaffo changed the title Add children component styles fix #4662 fix(custom-elements) - Add children component styles fix #4662 Sep 28, 2021
@raffobaffo raffobaffo changed the title fix(custom-elements) - Add children component styles fix #4662 fix(custom-elements): Add children component styles fix #4662 Sep 28, 2021
@raffobaffo
Copy link
Author

Any update on this MR or on the feature in general?

@yyx990803
Copy link
Member

This PR unfortunately isn't the right fix. The original issue is Vue custom elements importing normal Vue components. The latter will not have the styles option defined. Also with <script setup> not all components will be declared via the components option.

@yyx990803 yyx990803 closed this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants