Skip to content

Instantly share code, notes, and snippets.

@kevinnio kevinnio/vue-event-2.html Secret
Created Apr 26, 2019

What would you like to do?
<div id="alert-app" style="text-align: center">
<button v-on:click="alert(message)">ALERT</button>
<script src=""></script>
new Vue({
el: '#alert-app',
data: { message: 'This is an alert message.' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.