Skip to content

Instantly share code, notes, and snippets.

@kevinnio kevinnio/v-for-1.html Secret
Created Apr 26, 2019

What would you like to do?
<div id="app">
<h1>Friend list</h1>
<li v-for="friend in friends">{{ friend }}</li>
<script src=""></script>
const options = {
el: '#app',
data: { friends: ['Vue', 'React', 'Angular'] }
const app = new Vue(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.