-
-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Greetings,
Firstly, I want to express my gratitude for the outstanding plugin you've developed. It has greatly enhanced my project's functionality.
Issue Overview:
I've encountered a challenge while utilizing the vite-pwa nuxt 3 plugin within my project. In my project's public folder, I have a subdirectory designated for displaying various assets. However, my reverse proxy setup is configured to deny access to all other subdirectories except this designated one.
Upon running the Nuxt build process, the plugin generates the following output structure:
- .output
- public
- subdirectory
- favicon.ico
- sw.js
- workbox.js
- manifest.webmanifest
- subdirectory
- public
While I've successfully managed to configure the service worker (sw.js) and the Workbox file (workbox.js) to be served from the subdirectory by incorporating the following configuration in nuxt.config.js:
workbox: {
swDest: '/public/subdirectory/sw.js'
}However, the challenge arises when attempting to automatically generate the manifest.webmanifest file within the subdirectory during the manifest generation process facilitated by the plugin.
I am unable to locate any configuration options within the plugin's documentation that would allow me to specify the output directory for the manifest file.
Any sort of guidance or assistance in resolving this issue would be really helpful.