Joaquín Sánchez
Joaquín Sánchez
If you want to customize the browser PWA prompt I cannot help you, check https://whatpwacando.today/ (click on the install pwa button)
@iqre8 read contributing file, we're using pnpm as package manager
Upps, I didn't read full issue...
If you want to use anther package manager you should update the configuration in your local properly, we use pnpm workspaces.
@michaeltoohig `nr` is a script from `ni` dependency: https://github.com/vite-pwa/vite-plugin-pwa/blob/main/package.json#L115 EDIT: check the contributing guide, there is a link to previous repo IIRC.
@msonowal you can use `globDirectory` on `injectManifest` to change the build folder: you also need to move `globPatterns` from `workbox` to `injectManifest`, check [workbox-build documentation](https://developer.chrome.com/docs/workbox/reference/workbox-build/#method-injectManifest) It seems you are using...
Here the reference: https://developer.chrome.com/docs/workbox/reference/workbox-build/#type-RequiredGlobDirectoryPartial You'll need to also add `outDir` on pwa options.
I'm sorry folks, I dont use laravel. can you provide folder structure?
You can try to add this to pwa options: ```ts plugins: [ VitePWA({ outDir: 'public/build', }) ], ```
@fredpedersen provide these pwa options: ```ts plugins: [ VitePWA({ outDir: 'public/build', scope: '/', base: '/', /* other options*/ manifest: { id: '/', scope: '/', /* other options*/ } }) ],...