Closed himalay34 closed 2 years ago
I may be missing something, but I've never seen a property on PouchDB named 'default', only defaults(). Where is that coming from?
It should be the following?
import PouchDB from "pouchdb"
import PouchFind from "pouchdb-find"
PouchDB.plugin(PouchFind)
I may be missing something, but I've never seen a property on PouchDB named 'default', only defaults(). Where is that coming from?
It should be the following?
import PouchDB from "pouchdb" import PouchFind from "pouchdb-find" PouchDB.plugin(PouchFind)
without PouchDB.default return error. Uncaught TypeError: PouchDB is not a constructor
I may be missing something, but I've never seen a property on PouchDB named 'default', only defaults(). Where is that coming from?
It should be the following?
import PouchDB from "pouchdb" import PouchFind from "pouchdb-find" PouchDB.plugin(PouchFind)
without PouchDB.default return error. Uncaught TypeError: PouchDB is not a constructor
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Im trying to use pouchdb with electron-forge webpack template.
Pouchdb (leveldown adapter i.e native modules) works perfectly[Main process or renderer process]. But i cant use other plugins such as pouchdb-find, pouchdb-quick-search etc. even i try custom plugin i.e
Info
Reproduce
Create an app with electron-forge webpack template i.e
then install pouchdb,pouchdb-find, any other pouchdb plugins, try using the plugins
webpack.rules.js
webpack.plugin.js
webpack.renderer.config.js