Joaquín Sánchez

Results 1398 comments of Joaquín Sánchez

remove / and /offline from the sw precache handler (`precacheAndRoute(self.__WB_MANIFEST);`), both pages should be included in the sw precaching manifest

on local dev, you need to include the allowlist via `import.meta.env.DEV` in your sw, `devOptions` won't take effect (navigateFallback and navigateFallbackAllowlist options will be ignored) since the sw is custom:...

When the sw is installed first time, it will download all the assets in the `self.__WB_MANIFEST`, that includes both / and /offline (static html) pages, once the sw is activated...

You cannot make it work if not visited, if /offline not being prerendered (static html page) you cannot precache it, you'll need a custom handler for it. Maybe you can...

check elk.zone at github via custom sw, ofc any page connecting to mastodon won't work, but you can check any settings page

Using dev server? You cannot test offline in dev mode, you need to build the app and use preview or node to run the ssr app (in the case of...

I will try to include this in the new version, utilities at vuetify sass/scss is a pain

what's your project structure? I don't see any layer in the configuration nor custom modules

try configuring `outDir` with absolute path: ```ts // .vitepress/pwa/index.js import { dirname, resolve } from "node:fs"; import { fileURLToPath } from "node:url"; const _dirname = dirname(fileURLToPath(import.meta.url)); const pwaOptions = {...