Answer the question
In order to leave comments, you need to log in
What does underscore mean in sass file names?
What does underscore mean in sass file names? I read it but didn't understand it. It turns out that if you import through the underscore, it will not compile into the final css file?
Answer the question
In order to leave comments, you need to log in
In a very simple way, this means that if the file name begins with an underscore, then this file is ignored by the compiler. But the contents of these files can and usually are imported into regular sass files, also mixins, functions are included in such files, and they may not contain style declarations at all and are created solely for their use in other files. That is, in fact, these are auxiliary files, something like modules, for use by other regular sass files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question