U
U
Uladzimir A2018-05-05 17:42:50
Sass
Uladzimir A, 2018-05-05 17:42:50

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

1 answer(s)
P
Pavel Karinin, 2018-05-05
@hedin83

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 question

Ask a Question

731 491 924 answers to any question