Inertia offline support! #3044
inventor96
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I've been working on enabling offline support for Inertia apps on and off for a year or so now, but I've finally got it to a place where I can reasonably share it with the community! It's definitely still in beta (PWA's and service workers are still fairly new to me, so I'm not 100% confident in my implementations), but it's at a place where others can use it in their projects. It's also worth noting that at the time of this writing, the scope of support is limited, but I did my best to architect it with extensibility in mind. The current stack support is made of Mako framework (PHP), Vue 3, and Vite.
inertia-offlineJS package: https://github.com/inventor96/inertia-offline-jsinertia-offlinecore (abstract) PHP package: https://github.com/inventor96/inertia-offline-phpinertia-offline-makopackage: https://github.com/inventor96/inertia-offline-makoI'm looking for feedback on these packages, so feel free to contribute to each of them. I know Laravel is a more common selection for a backend framework, but I don't use it enough to create an
inertia-offlineadapter for it with reasonable confidence. If someone else wants to, please let me know so I can include a reference to it.Beta Was this translation helpful? Give feedback.
All reactions