Created
July 20, 2017 20:36
-
-
Save rdegges/4faf7d327e81f9407b3fc548226a629c to your computer and use it in GitHub Desktop.
A simple hello world example in Vue.js.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div id="app"> | |
<h1>{{ message }}</h1> | |
</div> | |
<script src="https://unpkg.com/vue"></script> | |
<script> | |
let app = new Vue({ | |
el: "#app", | |
data: { | |
message: "Hi!" | |
} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment