sass - Files starting with underscore at the beginning what do they mean? -
i have had couple of projects other people developed.
i think ok.
the programmers have created files starting underscore , example _variables.scss, have seen in both of projects.
i cant figure out why, have googled , cant find answer, if there special reason why people naming files way.
thanks!
according me reason use underscore before name of partial
- the underscore lets sass know file partial file , should not generated css file.*"
any sass files not beginning underscore rendered on own, fail if using variables or mixins defined elsewhere.
in end have concluded underscore used clarify partial file. can use partial file without using underscore prefix.
Comments
Post a Comment