pubkey / rxdb

A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
https://rxdb.info/
Apache License 2.0
21.37k stars 1.04k forks source link

Ionic App #8

Closed michvh-dev closed 7 years ago

michvh-dev commented 7 years ago

how do you add a plugin to rxdb? because in ionic/angular you dont have access to require. what you use in al the examples? like you do here RxDB.plugin(require('rxdb-adapter-localstorage'));

pubkey commented 7 years ago

You can add plugins via es6-import like here

import * as IndexedDB from 'pouchdb-adapter-idb';
RxDB.plugin(IndexedDB);