Skip to content

Instantly share code, notes, and snippets.

@velopert
Created January 27, 2017 12:57
Show Gist options
  • Save velopert/a9b5bb4c8c5047503b862583b17fadf0 to your computer and use it in GitHub Desktop.
Save velopert/a9b5bb4c8c5047503b862583b17fadf0 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div id="app">
<h1>카운터: {{ number }}</h1>
<button v-on:click="increment">증가</button>
<button v-on:click="decrement">감소</button>
</div>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment