Jump to Content

Andrew M McCall

scss cheatsheet

SCSS Use VS Import: How To Use @Use in SCSS

You have probably seen many times that @import is gradually being deprecated in SASS. So what is the alternative? Sass wants us to use @use which actually requires a little bit more setup but comes with the ability to namespace your sass and make it easier to maintain in larger projects. What Is Wrong With Using @Import in SASS? I do not feel there is any better way to put this than cite the official SASS documentation: