Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.97 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.97 KB

vue-backbone

Build Status ![Coverage Status][https://coveralls.io/repos/github/mikeapr4/vue-backbone/badge.svg?branch=master] styled with prettier

Vue.js Plugin to facilitate gradual migration from Backbone. Backbone Collections and Models can be safely integrated with Vue instances and components, with focus on clean code and future adoption of a Flux library (e.g. Vuex/Redux/Flux).

Features

  • Reactive data ensures Vue correctly and efficiently updates.
  • Safe direct data access (model.prop vs model.get('prop')).
  • Backbone-encapsulated logic made available.
  • No syncing required, single source of truth.
  • Step-by-step incremental migration path.

Documentation

Usage and guidelines documentation available here

Installation

Via NPM

npm install vue-backbone

Via Yarn

yarn add vue-backbone

Script include (see dist folder)

<script src="vue-backbone.min.js"></script>

Examples

Clone or download the repo to run the examples.

License

MIT