Vue.component('vue-mark-list', {
template: '<div>{{marks}}</div>',
data: function () {
return {
marks: {
1: 1,
2: 2,
3: 3
}
}
}
});
Vue.component('vue-mark-list', {
template: '<div v-for="mark in marks">{{mark}}</div>',
data: function () {
return {
marks: {
1: 1,
2: 2,
3: 3
}
}
}
});