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
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
I saw the last update on Angular2 changed to per-component scoped styles, and completely removed the global styles.
Doesn't it make sense to have a application wide style like it was before, and also some per-component styles just to exemplify how to do it?
Please correct if I'm wrong, but as it is now, I understand that if I create a global stylesheet it won't be included in the bundle anymore. This way if I have some styles that are used in more than one component, I'll have to duplicate the code...
The text was updated successfully, but these errors were encountered:
Or even just by adding a .css file to wwwroot/ and then referencing it using a <link rel=stylesheet> tag in your layout :)
So yes, you're right, it does make sense. For the template we're just trying to minimise concept count (with additional concepts covered by docs or at least standard practices) rather than putting all features in the out-of-the-box set of files. Hope that seems reasonable!
I saw the last update on Angular2 changed to per-component scoped styles, and completely removed the global styles.
Doesn't it make sense to have a application wide style like it was before, and also some per-component styles just to exemplify how to do it?
Please correct if I'm wrong, but as it is now, I understand that if I create a global stylesheet it won't be included in the bundle anymore. This way if I have some styles that are used in more than one component, I'll have to duplicate the code...
The text was updated successfully, but these errors were encountered: