We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I included the database but the plugin in not working
var db = new PouchDB('dbname'); db.plugin(require('pouchdb-quick-search'));
The text was updated successfully, but these errors were encountered:
Sorry, I'd need more details in order to help you out... browser, environment, did you npm install, etc.? What's not working?
npm install
Sorry, something went wrong.
^^ You need to declare the plugin on the pouch db import, rather than on the DB instance:
var PouchDB = require('pouchdb'); PouchDB.plugin(require('pouchdb-quick-search'));
or
import * as PouchDB from 'pouchdb'; import * as pouchQuickSearchPlugin from 'pouchdb-quick-search'; PouchDB.plugin(pouchQuickSearchPlugin);
etc
No branches or pull requests
I included the database but the plugin in not working
var db = new PouchDB('dbname');
db.plugin(require('pouchdb-quick-search'));
The text was updated successfully, but these errors were encountered: