-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
WebC Components placed in Layout files never render Scoped CSS #35
Comments
Tangent: we tried to do a StackBlitz on this but usage of the Liquid tag in the layout caused a base64 (of all things) error. |
@pauleveritt I did attempt to fix a StackBlitz |
Here's what we got:
|
zachleat
added
duplicate
This issue or pull request already exists
education
bug
Something isn't working
labels
Feb 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The scoped CSS never makes it to the page when attempting to render a WebC component in a
liquid
layout. I've included a recreation of this issue in this repository. https://github.com/khalidabuhakmeh/eleventy-two-oh/tree/webc-layout-issue.Layout.liquid
WebC Component
Index.liquid
Resulting HTML
Note that the
style
tag is missing the scoped css of the webc component, even though the component has a unique styling class ofwpwyzh6rm
.The text was updated successfully, but these errors were encountered: