Are these typos in the readme or am I just misunderstanding?
Then, plug VuePouch into Vue: import PouchVue from 'pouchVue';
Vue.use(pouchVue, {
pouch: PouchDB, // optional if `PouchDB` is available on the global object
defaultDB: 'remoteDbName', // this is used as a default connect/disconnect database
optionDB: {}, // this is used to include a custom fetch() method (see TypeScript example)
debug: '*' // optional - See `https://pouchdb.com/api.html#debug_mode` for valid settings (will be a separate Plugin in PouchDB 7.0)
});
I'm guessing import PouchVue from 'pouchVue'; should be part of the code block.
Although shouldn't it be import PouchVue from 'pouch-vue';? And Vue.use(PouchVue, with a capital P?
Are these typos in the readme or am I just misunderstanding?
Then, plug VuePouch into Vue: import PouchVue from 'pouchVue';
I'm guessing
import PouchVue from 'pouchVue';
should be part of the code block.Although shouldn't it be
import PouchVue from 'pouch-vue';
? AndVue.use(PouchVue,
with a capital P?Apologies if I'm just misunderstanding