Answer the question
In order to leave comments, you need to log in
How not to connect a file with variables to each component?
To use variables and mixins that are included in the main scss file, they must also be included in the component itself in the scss file:
@import "~scss/variables";
@import "~scss/mixins";
:host {
display: grid;
align-items: center;
justify-content: center;
}
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