T
T
TheRelow2022-03-04 22:15:25
JavaScript
TheRelow, 2022-03-04 22:15:25

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 idto the desired tag styleand when you need to disable the style - iddisable 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 question

Ask a Question

731 491 924 answers to any question