This commit is contained in:
sschum 2023-07-13 14:45:35 +02:00
parent 4792c56eab
commit b4241566b6

View File

@ -16,6 +16,7 @@
<p class="card-text">
<input type="text" v-model="message" />
</p>
<a href="#" class="btn btn-primary" v-on:click="addCard">Add Card</a>
</div>
</div>
@ -25,6 +26,11 @@
return {
message: 'Hello Vue!'
}
},
methods: {
addCard() {
alert(this.message)
}
}
})
MyVueApp.mount('#app')