Permalink
Find file Copy path
9eb53f6 Jan 13, 2020
bunny Yay
0 contributors

Users who have contributed to this file

31 lines (26 sloc) 536 Bytes
<!DOCTYPE html>
<html>
<head>
<title>Vue.js! 🚀</title>
</head>
<body>
<!-- HTML -->
<div id="app">
<ul>
<!-- Using the 'v-for' directive to iterate -->
<li v-for="person in people"> {{ person }} </li>
</ul>
</div>
<!-- JavaScript -->
<script src="vue.js"></script>
<script>
// Create a new Vue instance
let vm = new Vue({
el: "#app",
data: {
people: ['Chang', 'Umar', 'Harold']
}
})
</script>
</body>
</html>