learnin-some-vue/index.html
2018-04-13 13:53:25 -04:00

21 lines
485 B
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<script src="vue.js"></script>
</head>
<body>
<div id='app'>
<button @click="increase(2, $event)">Click Me</button>
<p>{{ counter }}</p>
<p v-on:mousemove="updateCoordinates">Coordinates {{x}}, {{y}}
<span v-on:mousemove.stop.prevent=""> DEAD SPOT</span>
</p>
</div>
<script src="app.js" charset="utf-8"></script>
</body>
</html>