Does node-sass even support @use ? Since I'm getting this error:
SassError: Invalid CSS after "...t-family: fonts": expected expression (e.g. 1px, bold), was ".$roboto;"
Here's the code of Nav.scss:
.nav { width: 100%; font-family: fonts.$roboto; &__item { margin-bottom: 10px; font-size: variables.$a; &_active { color: rgb(37, 133, 34); } } &__item:last-child { margin-bottom: 0px; } } Here's the code of fonts.scss:
$roboto: 'Roboto'; 
@useis only supported bydart-sass- if you are usinglib-sassorruby-sass, that may be why you're getting that error. I believenode-sassuseslib. Here's a github issue: github.com/sass/node-sass/issues/2886