Answer the question
In order to leave comments, you need to log in
SCSS: why does it give an error when trying to import a component?
@import "/node_modules/materialize-css/sass/components/color-variables";
Error: File "f:\node_modules\materialize-css\sass\components\color-variables" not found
on line 5 of sass/f:\projects\woodworks\src\scss\main.scss
>> @import "/node_modules/materialize-css/sass/components/color-variables";
$purple: (
"base": #9c27b0,
"lighten-5": #f3e5f5,
"lighten-4": #e1bee7,
"lighten-3": #ce93d8,
"lighten-2": #ba68c8,
"lighten-1": #ab47bc,
"darken-1": #8e24aa,
"darken-2": #7b1fa2,
"darken-3": #6a1b9a,
"darken-4": #4a148c,
"accent-1": #ea80fc,
"accent-2": #e040fb,
"accent-3": #d500f9,
"accent-4": #aa00ff
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question