how do I ensure that the order of css definitions for Vue.js development and release is the same?
when I was developing a Vue.js project, during development and after release, I found that the css style was inconsistent:
excuse me, what"s going on with this situation?
doesn"t it seem that css defines css in the same order when webpack is packaged?
for example:
// dmeo.html
<span class="Color">Colored Text</span>
// demo.css
.Color {
color: blue;
}
.Color {
color: red;
}
you need to add weight to css here, but what if you don"t? How to make sure that when webpack is packaged, the order of css definition remains the same?