What's the recommended way to override/extends a component? E.g. I want to override the vuetify component VTextField:
<script>
import { VTextField } from 'vuetify/lib/components';
export default {
name: 'RTextField',
extends: VTextField,
props: {
outlined: {
default: true,
},
hideDetails: {
default: true,
},
},
};
</script>
Above I used the extends to override some default props values.
I want to ask how to conditional set the value for hideDetails, for example based on a specific prop value hint, if there is a hint prop in RTextField, and the hideDetails should be set to false
`<r-text-field hint="xxx detail description">`