I have created a simple create-react-app. My aim is to have a separate route(endpoint) say 'localhost/pwa' to act as a PWA page(app). Most of the articles I found online talks about converting an entire React app into a PWA(which is not my use case).
I tried manipulating the index.html by adding a service worker file to it. But, not able to isolate an endpoint as a PWA as the entire app is getting rendered inside the index.html.
Thanks
localhost/pwa
, it open the installed pwa. And when they openlocalhost/others
, it wont open the installed pwa but open the browser instead?/pwa
interacts with other link? Like share components, data, href link to other? What if/pwa
redirect to others? will it suddently open browser? What preventing you to create separated codebase with /pwa standalone