1.0.0-beta.4 • Published 5 years ago
cartons-vue v1.0.0-beta.4
Cartons React
Installation
npm install --save cartons-vue
Documentation
API
observe
import Model from 'cartons/model';
import { observe } from 'cartons-vue';
class Item extend Model {
...
}
new Vue({
template: `
<div>{{item.title}}</div>
`,
data: function () {
return observe({
item: new Item()
})
}
})