You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect it should work. So when you plug the Pouch Instance into Vue, you instead plug this
// client-side code
var PouchDB = require('pouchdb');
PouchDB.adapter('worker', require('worker-pouch/client'));
var worker = new Worker('worker.js');
var db = new PouchDB('mydb', {
adapter: 'worker',
worker: worker
});
Is there any known solution to get vue-pouch running in a woker? Or could this work / how could this be integrated?
The text was updated successfully, but these errors were encountered: