Easy
Consider a ValidationButton component below:
<button class="validation-btn"></button>
I call my button like this:
<ValidationButton>Click to validate !</ValidationButton>
And CSS like this:
body {
color: white;
}
.validation-btn {
color: red;
}
What color will the button text be?
Author: DamienStatus: PublishedQuestion passed 12 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about vueJS
3
How to use v-do in VueJS2
Vue 3 provides default components to override all classic form components with the goal of performance improvement, a pre-generated basic UI, and pre-established data binding.2
Write a Vue component that displays a button and a counter.2
Display the content of a variable in VueJS2
Create a component dynamically in Vue 3