(No route matches [GET] "/manifest.json"):

My console get this and i dont know how to fix. Help me!

Hi @hoainam1111, what version of RoR are you using?

In RoR 8 beta 1, to enable PWA all you need to do is:

  1. go to ..app/views/layouts and uncomment following line (14)
    <%= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
  1. go to the ..config/routes.rb and uncomment following lines:
  get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
  get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
1 Like