Skip to content

Instantly share code, notes, and snippets.

@calebkiage
Last active December 24, 2019 20:14
Show Gist options
  • Save calebkiage/65dabf903aa49bcfeb7c7734cc354afc to your computer and use it in GitHub Desktop.
Save calebkiage/65dabf903aa49bcfeb7c7734cc354afc to your computer and use it in GitHub Desktop.
Getting Started with Vue.js
<!DOCTYPE html>
<html>
<head>
<title>Getting Started with Vue.js</title>
</head>
<body>
<div id="my-app">
{{message}}
</div>
<!-- development version of vue, includes helpful console warnings -->
<!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>-->
<!-- production version of vue, optimized for size and speed -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script>
var app = new Vue({
el: '#my-app',
data: {
message: 'My first Vue app'
}
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment