Тёмный

Ruby on Rails  

SupeRails
Подписаться 8 тыс.
Просмотров 955
50% 1

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

Опубликовано:

 

28 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@sadiqmmm
@sadiqmmm 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 2 месяца назад
Thank you for this
@SupeRails
@SupeRails 2 месяца назад
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)
Далее