3 ms·
Vue allows you to use Pug syntax in your templates, so this can be even simpler: button(:disabled='isButtonDisabled') Button div(:id='`list-${id}`") form
by hansede 9y ago
Vue allows you to use Pug syntax in your templates, so this can be even simpler:
button(:disabled='isButtonDisabled') Button
div(:id='`list-${id}`")
form(@submit.prevent='onSubmit')
a(@click='doSomething')