Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Mapping an Array to Elements with v-for

var example1 = new Vue({
  el: '#example-1',
  data: {
    items: [
      { message: 'Foo' },
      { message: 'Bar' }
    ]
  }
})
Source by vuejs.org #
 
PREVIOUS NEXT
Tagged: #Mapping #Array #Elements
ADD COMMENT
Topic
Name
1+5 =