Skip to content

Instantly share code, notes, and snippets.

@kraizt
Created March 5, 2018 04:25
Show Gist options
  • Save kraizt/8ac934c85efcf4e2020624c338333b61 to your computer and use it in GitHub Desktop.
Save kraizt/8ac934c85efcf4e2020624c338333b61 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Hello Vue</title>
</head>
<body>
<div id="app">
<textarea v-model="message"></textarea>
<pre>
{{ $data }}
</pre>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.js"></script>
<script>
new Vue({
el: '#app',
data: {
message: 'Perajurit terluka!'
}
})
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment