Open boris-petrov opened 3 years ago
This can be fixed in a way similar to https://github.com/salsify/ember-css-modules/pull/251 or https://github.com/simplabs/ember-test-selectors/pull/721
@SergeAstapov I'm no longer maintaining this project, and any effort I do spend is being transitioned into its replacement https://github.com/webark/ember-cli-styles
There are a number of issues with how this addon accomplishes its features that are not compatible with Ember 4, so a rewrite was nessicary. It also means there are some features (like the automatic namespacing of components) that are no longer feasible.
Documentation of https://github.com/webark/ember-cli-styles is coming as well as a transition plan for those interested in making the switch.
@webark totally understand that and really appreciate all the effort you put into https://github.com/webark/ember-cli-styles!
At this point I'm not sure how feasible the switch is and how close ember-cli-styles
to release.
My thought process was that we may be able easily make this addon not break with Ember v4 because of Ember.Component.reopen
and keep using it until ember-cli-styles
is ready.
I'm happy to explore and PR an option I mentioned in the above PR meanwhile. Hope this makes sense
ember-cli-styles
is pretty close.. if you want to try to get a PR together for this, I'll be happy to review, give feedback, and merge. Without Ember.Component.reopen
, this project can't function.
@SergeAstapov - ember-cli-styles
is pretty fine. There's a few issues that remain for it to be fully production-ready (I've opened an issue for all of them I believe) but otherwise you can try it out now on your Ember 4 apps and tell us of any problems! :)
Importing global Ember is deprecated in Ember 3.27 and will be removed from Ember 4.
P.S. Reopening
Ember.Component
also.