Vote count: 0
So I have this code:
<div class="input-field col s12 m6 l6">
<input id="txtboxid" type="text" v-model="full_name">
<label for="txtboxid">Middle Name *</label>
</div>
And I have lots of those with different ID's and model's and my html file looks big. Is there a way to make it shorter in vuejs? Like just a single line and it will have those? Any help would be much appreciated.
asked 24 secs ago
How to create a component for a html code in Vue?
Aucun commentaire:
Enregistrer un commentaire