Answer the question
In order to leave comments, you need to log in
How to assign id to imported scss file?
Application on VUE.
Goal: disable styles when they are not needed. (There is an old layout and the project will move to a new one. It is necessary that you can disable the styles of an unnecessary layout)
The option that I have: assign it id
to the desired tag style
and when you need to disable the style - id
disable this very style
Problem: I can’t put the id on imported scss file. document.getElementById('style').disabled = true;
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