Using Vuetify.js v-stepper
component, I can change the color of v-stepper-step
using the color
prop:
<v-stepper-step :complete="e1 > 2" color="red" step="2">Name of step 2</v-stepper-step>
This works fine when I am using Vuetify in Nuxt.js and launch the server locally. But I noticed when I deploy my application on Gitlab, the color prop does not take effect and inspecting the element in question simply shows an empty style:
element.style {
}
That is why I tried to use a class instead:
<v-stepper-step :complete="e1 > 1" step="1" class="step-number">Name of step 1</v-stepper-step>
Here is that CSS class:
.step-number {
background-color: yellow;
color: red;
}
I do this in the hope to action the color prop from within a CSS class and deploy again on Gitlab to see the output, however this does not work even locally.
How to overcome this issue?