-
-
Save kevinnio/fead39216fca0acc9824f02153532f4a to your computer and use it in GitHub Desktop.
This file contains 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
<div id="app"> | |
<h1>Friend list</h1> | |
<ul> | |
<li v-for="value in friends">{{ value }}</li> | |
</ul> | |
</div> | |
<script src="https://cdn.jsdelivr.net/npm/vue"></script> | |
<script> | |
const app = new Vue({ | |
el: '#app', | |
data: { friends: { first: 'Vue', second: 'React', third: 'Angular' } } | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment