Joaquín Sánchez
Joaquín Sánchez
I'm using Node 18 with these plugins (I use VSCode to test TypeScript only): 
I'm using `npm`, this is the `package.json`: ```js { "name": "sveltekit-latest-example", "version": "0.0.1", "scripts": { "dev": "vite dev", "build": "vite build", "preview": "vite preview", "run-tsc": "svelte-check --help", "check": "svelte-kit sync...
ok, to make it working with pnpm, you need to add 2 entries to `.npmrc`, `auto-install-peers` and `shamefully-hoist=true`: ```shell engine-strict=true resolution-mode=highest auto-install-peers=true shamefully-hoist=true ``` EDIT: `engine-strict` and `resolution-mode` added by...
can you try adding the imports in `src/app.d.ts` and removing the triple slash references from `src/vit-env.d.ts`?
```ts // src/app.d.ts import 'vite-plugin-pwa/info'; import 'vite-plugin-pwa/vanillajs'; //
You're using the virtual module for VanillaJS and so you can use `import 'vite-plugin-pwa/vanillajs';` or `import 'vite-plugin-pwa/client';`, if you use the virtual for Svelte use `import 'vite-plugin-pwa/svelte';`: ```js import {...
I assume you're talking about dev server: we configure the entry point to avoid caching any resource, you're in dev mode and so the sw will intercept any request, any...
@kelvindecosta then your app will not work when offline EDIT: I mean, your service worker will work in both envs, `createHandlerBoundToURL` will allow work offline (you'll need to add some...
You need to navigate to it, then close the browser and repoen it, then navigate again: the workbox cannot create the cache on first request. To solve the problem, you...
Oops, sorry, I was thinking about another Nuxt issue...