salsify / ember-css-modules

CSS Modules for ambitious applications
MIT License
282 stars 50 forks source link

Question: How to use it with v2 addon? #285

Open gossi opened 2 years ago

gossi commented 2 years ago

I would wanted to use e-css-modules with a v2 addon and its companion test-app.

... but how? =)

(I have too many assumptions in my head why it isn't working, that wouldn't help at this point I think - but in case they help, I will provide them).

dfreeman commented 2 years ago

The short version is that this isn't directly possible today, but it's something we're planning out. For v2 addons (and Embroider-native apps), ultimately I think most of ember-css-modules will go away, but we want to make sure there's a clear path to that point and good interoperability in the meantime.

There's a bit more info in https://github.com/salsify/ember-css-modules/issues/284#issuecomment-1188782628 about what the rough plan looks like