Answer the question
In order to leave comments, you need to log in
Vue doesn't change styles but adds changes?
Hello. vuecli. In the scss component styles. If I change something in the class, and then I start the assembly, then the css file will contain the old class and the same class with changes ... For example:
.input {
&__wrapper {
&::before {
position: relative;
content: '';
top: .1em;
display: inline-block;
width: 2em;
height: 2em;
border: 2px solid #d5bf7d;
margin-right: 10px;
}
}
}
.input __wrapper:before {
width: 2em;
height: 2em
}
.input __wrapper:before {
position: relative;
content: "";
top: .1em;
display: inline-block;
width: 1em;
height: 1em;
border: 2px solid #d5bf7d;
margin-right: 10px
}
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