learnin-some-vue/lessons/app.js

11 lines
211 B
JavaScript
Raw Normal View History

2018-04-13 14:54:53 +00:00
var app = new Vue({
el: '#app',
data: {
2018-04-14 02:59:43 +00:00
ingredients: ['meat', 'fruit', 'cookies'],
persons: [
{name: "Max", age: 33, color: "red"},
{name: "Tyrel", age: 30, color: "blue"},
]
2018-04-13 18:57:51 +00:00
}
2018-04-13 18:55:09 +00:00
});