Skip to content

Instantly share code, notes, and snippets.

@kraizt
Last active February 28, 2018 13:12
Show Gist options
  • Save kraizt/760c6bebc3294bb20971dffba9273e6a to your computer and use it in GitHub Desktop.
Save kraizt/760c6bebc3294bb20971dffba9273e6a to your computer and use it in GitHub Desktop.
// html
<div id=”app”>
{{ message }}
</div>
// js letakkan pada <script></script>
<script>
var app = new Vue({
el: ‘#app’,
data: {
message: ‘Hallo dari Vue’
}
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment