Open jstarry opened 4 years ago
I saw that woz (rust pwa generator) , has an issue to create an example of pwa genaration with yew...
Ah yeah, somehow slipped my mind to link to that here. Thanks @diurnambule!
I've built a minimal PWA using Yew based on https://github.com/yewstack/yew-wasm-pack-minimal:
https://github.com/fkohlgrueber/yew-pwa-minimal
As far as I can see, integrating this into yew/examples
is non-trivial because all examples share the same index.html
and output folder. A PWA needs changes in index.html
as well as a few additional files. I'm not sure how this would be integrated best, do you have any advice?
@fkohlgrueber awesome! 👏
I'm not sure how this would be integrated best, do you have any advice?
How about using the repo as a starter template? We could link to it in the docs, we could move it to the yew org, etc. All up to you :) Docs repo here: https://github.com/yewstack/docs
We should have an example project, probably in the form of a starter template that shows how to build a PWA (https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps).
In doing so, we should determine if Yew needs any new features to support PWA's