-
Hi, I just updated to 9.3 and I am testing. Here is the structure
And here is the file contents // index.scss
@import "variables.scss"; // _variables.scss
$color: blue; // Button.scss
@import ../styles/variables.scss
Button {
color: $color
} And I get the following error :
Thanks for help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you try the following instead: // components/Button.scss
@import "../styles/_variables.scss";
Button {
color: $color
} Note the quotes around the import. Also, your example imported |
Beta Was this translation helpful? Give feedback.
-
@Timer Jumping in on this thread with a related issue. Previously it was possible to include paths for sass like this:
How can that be done now with 9.3.0? |
Beta Was this translation helpful? Give feedback.
Can you try the following instead:
Note the quotes around the import.
Also, your example imported
variables
and not_variables
, but I assume this was a typo in your demo.