This commit is contained in:
@@ -79,23 +79,9 @@ https://vuex.vuejs.org/guide/structure.html
|
||||
VUEX STATE PERSISTENCE = VUEX-PERSISTEDSTATE
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
- https://github.com/robinvdvleuten/vuex-persistedstate
|
||||
- Some stuff should probably be persisted like auth, maybe other stuff?
|
||||
- Is this app an online only app?
|
||||
- Store enough stuff to keep working locally?
|
||||
- Fill out a workorder offline?
|
||||
- Create a new one offline?
|
||||
- enter labour only, no parts or other lengthy lookup stuff??
|
||||
- If recreating AyaNova 7 essentially, then that app is always online as well so maybe don't even consider offline work?
|
||||
- Many things need to be persisted and survive a refresh so this is how it will be done
|
||||
|
||||
|
||||
LOCALSTORAGE = Built in
|
||||
=-=-=-=-=-=-=-=-=-=-=-=
|
||||
- All modern browsers should support it and less libs the better
|
||||
- Fallback if find it doesn't work:
|
||||
- = STORE.JS Very widely used and I don't necessarily need a VUE specific one, this is the one used for pecklist and rockfish
|
||||
- https://github.com/marcuswestin/store.js/
|
||||
|
||||
|
||||
SERVICEWORKER = WORKBOX
|
||||
=-=-=-=-=-=-=-=-=-=-=-=
|
||||
For offsite PWA use, works well and is simple to implement
|
||||
|
||||
Reference in New Issue
Block a user