Skip to content

Instantly share code, notes, and snippets.

@outiy5
Created March 19, 2020 09:24
Show Gist options
  • Save outiy5/e59219aa448ef39e323532cdf5c68c55 to your computer and use it in GitHub Desktop.
Save outiy5/e59219aa448ef39e323532cdf5c68c55 to your computer and use it in GitHub Desktop.
[vue example 1] #vue
<!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