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
I was hoping to use this project in combination with Angle Brackets Components and the splat attributes (...attributes) feature from Ember v3.4. In my tests, it doesn't seem to work as one would expect.
Here is my attempt:
//my-component.hbs
<divclass="my-component"local-class="my-local-class"
...attributes
>
This is my-component
</div>
Thanks for the report, @josemarluedke! I think there's some special casing around how class works with ...attributes, and it may be that we're doing something that doesn't play nicely with that.
I can't make any promises, but I'll try and dig into this soon to understand what's happening and hopefully put a fix together 🙂
Hey there! Thanks for this awesome project.
I was hoping to use this project in combination with Angle Brackets Components and the splat attributes (
...attributes
) feature from Ember v3.4. In my tests, it doesn't seem to work as one would expect.Here is my attempt:
The current behavior is: No class end up in the HTML:
Expected behavior, all the classes would be present:
Note, if I remove the
...attributes
from the component, css-modules will add the correct local class.My test project can be found here: https://github.com/josemarluedke/--css-modules-test
The text was updated successfully, but these errors were encountered: