Skip to content

Instantly share code, notes, and snippets.

@velopert
Created January 21, 2017 15:59
Show Gist options
  • Save velopert/e4bf320558aa3b247babf1bd1f8a3196 to your computer and use it in GitHub Desktop.
Save velopert/e4bf320558aa3b247babf1bd1f8a3196 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 v-if="value > 5">value 가 5보다 크군요</h1>
<h1 v-else-if="value === 5">값이 5네요</h1>
<h1 v-else>value 가 5보다 작아요</h1>
<h1 v-pre>{{ 이건 그대로 렌더링해줘요 }}</h1>
</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