Deploy a PWA on observable? #983
Replies: 3 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks, I'm glad you're enjoying Framework! One issue with the current set up is that With that change you could do something like $ npm run build
$ cp extra/manifest.json worker.js dist/
$ npm run deploy@rbcavanaugh do you think that would help? |
Beta Was this translation helpful? Give feedback.
-
|
thanks for the recent updates! An an update on trying to implement a PWA - this is somewhat possible now on v1.4:
the main challenge that I don't know how to resolve is these last two items how to adjust manifest.json I'm also getting an error in Chrome that I don't know if its related to the PWA implementation I've hacked together: toy project that is somewhat working as a pwa: https://github.com/rbcavanaugh/observable-tide |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm really loving framework (especially as someone who prefers to use R or python to wrangle the data and would love to do more interactive visualizations using js).
Is it possible to deploy an app as a progressive web app on observable? For example, I tried adding a manifest and service worker to the
/docsfolder but only themanifest.jsonfile was copied to/dist/_fileupon runningnpm run build.I know I could likely do this on GitHub pages but it would be nice to have this option (perhaps as a feature even) to deploy to observable since running
npm run deployis just so freaking easy.Cheers
Beta Was this translation helpful? Give feedback.
All reactions