Take a first stab at offline mode support

This commit is contained in:
Rosa Gutierrez
2026-01-05 12:10:57 +01:00
parent 5d084a46ce
commit ada4688c4e
7 changed files with 96 additions and 47 deletions
+1
View File
@@ -1,2 +1,3 @@
import "initializers/current"
import "initializers/bridge/bridge_element"
import "initializers/offline"
+6
View File
@@ -0,0 +1,6 @@
import { Turbo } from "@hotwired/turbo-rails"
Turbo.offline.start("/service-worker.js", {
scope: "/",
native: true
})