Skip to content

Instantly share code, notes, and snippets.

@kraizt
Last active February 28, 2018 13:12
Show Gist options
  • Save kraizt/9678893fdbae4f371215633ef0d36440 to your computer and use it in GitHub Desktop.
Save kraizt/9678893fdbae4f371215633ef0d36440 to your computer and use it in GitHub Desktop.
// html
<div id=”app”>
<h1>{{ message }}</h1>
<input v-model=”message”>
</div>
//js
<script>
new Vue({
el: ‘#app’,
data: {
message: ‘Look ma, i’m dynamically changed!’
}
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment