What does the underscore in the name of a sass file?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
14 views
What does the underscore in the name of a sass file? Read, but not understood. It turns out if you import using the underscore it will not be compiled in the final css file?
by | 14 views

1 Answer

0 like 0 dislike
If very simply, it means that if the file name starts with underscore, this file is ignored by the compiler. But the contents of these files can usually import the usual sass files are also in these files include mixins, functions, and they may not contain the style declarations are created solely for their use in other files. That is, in fact, this auxiliary file is something like modules to use other sass files.
by

Related questions

110,608 questions
257,186 answers
0 comments
35,405 users