Closed michvh-dev closed 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'));
RxDB.plugin(require('rxdb-adapter-localstorage'));
You can add plugins via es6-import like here
import * as IndexedDB from 'pouchdb-adapter-idb'; RxDB.plugin(IndexedDB);
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'));