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

Scoped styles are not applied when loading Vue component via SystemJS #2067

Open
francisco-alonso opened this issue Mar 12, 2024 · 0 comments

Comments

@francisco-alonso
Copy link

francisco-alonso commented Mar 12, 2024

Hello,

I'm loading a Vue component via a SystemJS register. In my component I have a stylesheet associated to it.

If I add the scoped tag, styles are not applied. If I remove it, styles are applied correctly but it can impact other components in the frontend we're using to load the remote component.

Have you recently faced a similar problem?

It does not work

<style scoped lang="css">
//css
</style>

It does work

<style lang="css">
//css
</style>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant