Deploy a PWA on observable? #983
Replies: 3 comments 6 replies
-
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.
-
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
/docs
folder but only themanifest.json
file was copied to/dist/_file
upon 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 deploy
is just so freaking easy.Cheers
Beta Was this translation helpful? Give feedback.
All reactions