Skip to content

Instantly share code, notes, and snippets.

@rslhdyt
Last active November 30, 2019 06:25
Show Gist options
  • Save rslhdyt/5dbd34c0bed1e7025f06335e52296d78 to your computer and use it in GitHub Desktop.
Save rslhdyt/5dbd34c0bed1e7025f06335e52296d78 to your computer and use it in GitHub Desktop.
[Hello Vue] Initialize vue js #vuejs
<!DOCTYPE html>
<html>
<head>
<title>Hello Vue</title>
</head>
<body>
<div id="app">
<h1>{{ message }}</h1>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.1/vue.js"></script>
<script>
new Vue({
el: '#app',
data: {
message: 'Hello VueJs'
}
})
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment