Last active
December 24, 2019 20:14
-
-
Save calebkiage/65dabf903aa49bcfeb7c7734cc354afc to your computer and use it in GitHub Desktop.
Getting Started with 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
| <!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