salsify / ember-css-modules

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

Documenting migration from global app.css to css-modules #288

Open BlueCutOfficial opened 2 years ago

BlueCutOfficial commented 2 years ago

When I tried to play a bit with CSS modules for the first time in my life, I installed this addon on an existing Ember app and spent a quite hard time understanding how to apply the current global style on my page to start a step by step migration.

Although some information might look redundant at first look / Although this is more about general CSS, I believe the documentation of this addon would deserve a migration section to start with an existing app without breaking it. The interesting points I see:

The current README.md owns some content that tends to mean the above, though without a dedicated migration section, it is quite hard to gather everything and understand the meaning behind this information and that information in the different sections. As result, you can quickly get stuck with it by making different mistakes at the same time.