Created
June 16, 2016 18:26
-
-
Save rohan-krishna/e9412d317f2e47ccabdb10277fbaf1f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Vue.js</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.24/vue.js"></script> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>Hello {{ message }}</h1> | |
<input v-model="message"> | |
</div> | |
<script> | |
new Vue({ | |
el: '#app', | |
data: { | |
message: '' | |
} | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment