eldomagan/vuex-orm-localforage

Unclear documentation

ZeroThe2nd opened this issue · 4 comments

It's unclear from the readme what the database import should be. Does this need to be a localforage instance, localforage itself, or what is it exactly supposed to be?

Hi @ZeroThe2nd, thank you for your interest for this library.
It still a work in progress. I will update the readme to be more comprehensible.

database is the VuexORM database instance

const database = new VuexORM.Database()

See https://vuex-orm.github.io/vuex-orm/guide/prologue/getting-started.html#create-modules for more infos.

Ah, got it. Thanks for the quick response 😄

I updated the readme with some usage sample.

Sweet! Thanks a bunch