How to import files in SASS?
Answers
Answered by
0
You can @import SCSS or CSS files by adding an underscore to the beginning of the scss/css filename, and leaving the underscore and file extension off when importing it into your stylesheet.
For example:
Name your stylesheet something like: _stylesheet.scss.
Then in theme.scss, reference it like this:
@import “stylesheet”;
For example:
Name your stylesheet something like: _stylesheet.scss.
Then in theme.scss, reference it like this:
@import “stylesheet”;
Similar questions