vue-pouchdb

1.0.0 • Public • Published

MIT License Patreon

vue-pouchdb

Vue.js plugin that adds PouchDB to your Vue.js apps.

It also (currently) includes pouchdb-authentication because you probably should use that if you're building browser apps. 😺

It's a tiny useful bit of code I extraced from BlueInk.

Usage

Assumes browserify:

Vue.use(require('vue-pouchdb'), {name: 'database-name'});

The first option is the plugin--see Vue.use() for more info. The second option is the options object for PouchDB.

If you want to use this with Apache CouchDB or Cloudant, pass a database URL as the name. Easy peasy! 😺

License

MIT

Dependents (0)

Package Sidebar

Install

npm i vue-pouchdb

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bigbluehat