Is there a way to simplify this code?
<b-address
v-model:name="address.name"
v-model:addressLine="address.addressLine"
v-model:streetNumber="address.streetNumber"
v-model:town="address.town"
v-model:country="address.country"
v-model:postcode="address.postcode"
v-model:phoneNumber="address.phoneNumber"
v-model:homeAddress="address.homeAddress"
/>
It would be great if there was a shorthand option like this:
<b-address
v-model="address"
/>
Having a shorthand for components and objects would be really helpful. Any suggestions on how to achieve this? Thank you!