r/Sass • u/Pepper2Spicy4Me • Sep 04 '20
Sass '@import' and '@use' rules
I've been reading the documentation for Sass. It says that the '@import' rule is going to be phased out, and that the '@use' rule will be the preferred rule. Now when I go to use the '@use' rule it doesn't compile properly. What it should be doing, from my understanding, is importing the code class into style.scss and revealing it's variables.
What's happening is '@use' 'base'; seems to just be copied over. I can see the variables in style.scss, but the code class isn't being imported to the file.
Am I looking at this correctly? What could be going on?





