Module-unification / stylesheets location / best practice

#1

Dear all,

by default, in Module-Unification, styles are inside the folder src/ui/styles. But, if some stylesheets are used for specific templates, why not putting them beside the template and having only the global stylesheets in the src/ui/styles - folder?

i checked it and it works, but are there reasons against to do this?

best regards, Christian

0 Likes

#2

styles are probably the biggest thing ember doesn’t have a suggestion / opinion on (it’s still broadly an unsolved problem of how to manage styles well).

just do whatever works for you, and that’s fine. :slight_smile:

You may want to look into ember-css-modules if you want BEM-like scoping though

0 Likes

#3

thanks!

0 Likes