Open adamprocter opened 3 years ago
As this is not a Vue plugin'Vue.use' will not work.
It looks like you have glossed over this line from the examples
PouchDB.plugin(SimpleCryptor)
Thanks, I think I tried this before. Anyway had another go and just get the error pouchdb.SimpleCryptor is not a function
Version
Description
I am looking to use basic encryption of my poucdb so the data is encrypted on couchdb in a vue app None of the solutions seem that up to date and I like the simplicity your plugin seems to offer
However I am not sure how to use it within vue app, I assumed I could use it like so
But i get the warning 'SimpleCryptor' is defined but never used so I have tried defining as a plugin
Vue.use(SimpleCryptor)
But get this error... maybe library is not up to date ?
ENOENT: no such file or directory, open 'app/node_modules/transform-pouch/node_modules/lie/lib/index.js'
Any tips / thoughts very much appreciated