1.0.0-beta.4 • Published 5 years ago

cartons-vue v1.0.0-beta.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Cartons React

npm version

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()
      })
    }
  })

Create todo application

example