Answer the question
In order to leave comments, you need to log in
Why @use rules must be written before any other rules. when is he first?
global.scss
@use 'modules';
//keep the right order
@import 'colors';
@import 'functions';
// styles
@import 'fonts';
@import 'transitions';
@import 'override';
Answer the question
In order to leave comments, you need to log in
You have something like this in webpack.config.js (it's the first one you see):
{
loader: "sass-loader",
options: {
additionalData: '@import "commonVariables.scss";'
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question