'SCSS problem with @use Error: Invalid CSS after "
Hi I have a question about SCSS. When I work with @use I get this Error:
Invalid CSS after "... mily: variables": expected expression (e.g. 1px, bold), was ". $ FontSansPro;"
My:
_variables.scss
$fontSansPro: 'Source Sans Pro', sans-serif;
style.scss
@use './variables/variables';
body {
font-family: variables.$fontSansPro;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
