Ruby on Rails

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • Let's turn an existing app into a PWA by adding a valid Webmanifest and Service Worker.
    You can simply add the files to the /public folder, OR you can do it the Rails 8 way and add manifest.json and service-worker.js to ActionView!
    Episode source code: github.com/yshmarov/insta2blo...
    Based on this blogpost: blog.corsego.com/rails-8-pwa
    0:00 PWA on MacOS
    2:38 Webmanifest
    7:56 Service Worker
    10:05 The Rails 8 Way

Komentáře • 3

  • @sadiqmmm
    @sadiqmmm Před 19 dny +2

    This is amazing. Thank you for the hard work and research on pwa with Rails. Looking forward to more videos as the new updates come on the Rails 8.

  • @komradkookoo
    @komradkookoo Před 21 dnem +1

    Thank you for this

  • @SupeRails
    @SupeRails  Před 21 dnem +1

    Follow up PRs:
    1. Upgrade to Rails main and use it's built-in PWA Controller (github.com/yshmarov/insta2blog.com/commit/e96afcf0531850d239bac50872762b657b74f1d7)
    2. Import images from assets, not /public folder (github.com/yshmarov/insta2blog.com/commit/0c8579ffcd160a77d4648548f014c1daa16b8d4c)