Created
March 19, 2020 09:24
-
-
Save outiy5/e59219aa448ef39e323532cdf5c68c55 to your computer and use it in GitHub Desktop.
[vue example 1] #vue
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 lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
| <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> | |
| <title>Vue App</title> | |
| </head> | |
| <body> | |
| <div id="app">{{message}}</div> | |
| </body> | |
| <script src='pen.js'></script> <!-- to experiment in codepen --> | |
| <script>const app=new Vue({el:'#app',data:{message:'hello vue'}});</script> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment