Skip to content

Instantly share code, notes, and snippets.

Last active January 21, 2017 16:26
What would you like to do?
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<div id="app" v-cloak>
<h1 v-once v-if="value > 5">value 가 5보다 크군요</h1>
<h1 v-else-if="value === 5">값이 5네요</h1>
<h1 v-else>value 가 5보다 작아요</h1>.
<h2 v-once>초기 값: {{ value }}</h2>
<h2>현재 값: {{ value }}</h2>
<h1 v-pre>{{ 이건 그대로 렌더링해줘요 }}</h1>
<script src=""></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment