Last active
October 18, 2016 06:10
-
-
Save ricogoh/7a20d0c6a6b7890cadc709d9b4afdb77 to your computer and use it in GitHub Desktop.
Tryout VueJS
This file contains hidden or 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> | |
<head> | |
<meta name="description" content="Tryout VueJS"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
</head> | |
<body> | |
<div id="app"> | |
{{ message }} | |
<br> | |
{{ list | json }} | |
</div> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.16/vue.js"></script> | |
<script> | |
var app = new Vue({ | |
el: '#app', | |
data: { | |
message: 'Hello Vue!', | |
list: ['one', 'two', 'three', 'four', 'five', 'six'] | |
} | |
}) | |
</script> | |
<script id="jsbin-javascript"> | |
console.log("try vuejs..."); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">console.log("try vuejs...");</script></body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment