L
L
liltrill2019-12-10 18:36:48
Angular
liltrill, 2019-12-10 18:36:48

How to connect variables once for all components in Angular?

I use Angular + Scss + BEM, and so I have to connect them in every component where there is a mixin or a variable. Can I somehow connect it once, and so that they can be seen in all components?
5defbb5e53857041849040.png
PS: Import to main style.scss file doesn't help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Felino, 2019-12-13
@Felino

In angular.json, add comma separated.
"styles": [
"src/styles.css"
]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question