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 has been archived by the owner on Jul 6, 2021. It is now read-only.
I expect styles in file styles/base.css will be at the top of style.css. Bcs it's my vendor.
But now styles of Wrapper.scss are at the top of the file style.css. Even more, all the styles that are in the Child component will get to the top of the file.
Looks like calling of components starts from the deepest one and all of styles adds with a push, so in the end we got: styles of deepest child will be at top of styles.css and style, what we expect to see at the top (vendor, normalize, etc...) appears at the bottom of file....
For myself I hacked it with spliting code in two files: vendor and app, but I think it is not the good way to solve that trouble.
The text was updated successfully, but these errors were encountered:
I'm not sure should that trouble be here or in
nextjs
rep, but lets start from here and if will be need ed - move this.Let's start:
In simple way we have file like that:
I expect styles in file
styles/base.css
will be at the top ofstyle.css
. Bcs it's my vendor.But now styles of
Wrapper.scss
are at the top of the filestyle.css
. Even more, all the styles that are in theChild
component will get to the top of the file.Looks like calling of components starts from the deepest one and all of styles adds with a
push
, so in the end we got: styles of deepest child will be at top ofstyles.css
and style, what we expect to see at the top (vendor, normalize, etc...) appears at the bottom of file....For myself I hacked it with spliting code in two files: vendor and app, but I think it is not the good way to solve that trouble.
The text was updated successfully, but these errors were encountered: