android - How to implement pouchdb in cordova with an app packaged by webpack? -
i ask if knows how integrate pouchdb in cordova app? have created app in webpack/vue-cli , have successful run them in browser environment when try package app mobile development, seems database used (pouchdb) not working anymore. have tried googling every topic know implement logic no avail.
to give idea how developed app here steps:
- used vue-cli create boilerplate app. have used vuetify, vuex, , vue-router, pouchdb inside app.
- after developing app , run through browser(with database connection working), package app using npm run build of webpack create browser compatible distribution.
- then went create cordova project using cordova cli, , went www folder , replaced index.html webpack app.
- then ran webpack/cordova app, difference is not load data pouchdb database anymore if run cordova run browser command.
thank you
Comments
Post a Comment