Have many PWA's on one website with 'scope'
I use the 'scope' property in my 'manifest' so I can have many 'Progressive Web Apps' from one website.
It seems the 'start_url' needs to end in a slash. Luckily, my pages are called 'index.html' and are in their own subdirectory.
Here is an example:
"scope": "/techtips/",
"start_url": "/techtips/",
My 'manifest' is in the top directory of my website.
I got the idea from a post on 'stackoverflow':
stackoverflow.com/questions/50548573/are-pwa-sites-in-same-domain-not-able-to-install-both-on-home-screen
There are more tips at: bbingo.xyz/t
Comments
Post a Comment