This commit is contained in:
@@ -71,6 +71,23 @@ and VUEX allows that easily, plus it's fairly straightforward to use.
|
||||
Here is an example of how to structure a non trivial application with VUEX broken into modules:
|
||||
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?
|
||||
|
||||
|
||||
LOCALSTORAGE = 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