Skip to content

Instantly share code, notes, and snippets.

@rohan-krishna
Created June 16, 2016 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohan-krishna/36f17d548444c1f41de58b3a1fc57c0e to your computer and use it in GitHub Desktop.
Save rohan-krishna/36f17d548444c1f41de58b3a1fc57c0e to your computer and use it in GitHub Desktop.
Another index.html continuation for Vue.js Intro
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vue.js</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.24/vue.js"></script>
</head>
<body>
<div id="app">
<h1>{{ message }}</h1>
</div>
<script>
new Vue({
el: '#app',
data: {
message: 'Hello World'
}
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment