learnin-some-vue/app.js
2018-04-13 22:59:43 -04:00

11 lines
211 B
JavaScript

var app = new Vue({
el: '#app',
data: {
ingredients: ['meat', 'fruit', 'cookies'],
persons: [
{name: "Max", age: 33, color: "red"},
{name: "Tyrel", age: 30, color: "blue"},
]
}
});