Joaquín Sánchez
Joaquín Sánchez
Once nuxt app has been built no, I'll try to figure out how to add this feature. workbox-build just build the web manifest and the sw at build time.
The problem is the webmanifest scope and id entries, we will need a server function to transform both, maybe you can try adding a server function reading the webmanifest and...
You are transforming static webmanifest, now it is dynamic. You should review the sw precache manifest, all entries should be releative and so shouldn't be a problem.
Current Vuetify version is not yet ready to work with SSG with multiple themes (dark and light themes), the SSG build won't have the required info to avoid huge flash...
Will try to figure out how to support this new `theme` here https://github.com/userquin/vuetify-nuxt-module-nuxt-v4
how about using fetch with `mode: 'no-cors'` + blob response + `RawImage.fromBlob`? (I guess you only need to provide the image to the transformer)
NOTE: maybe we can store the image temporarily in cache storage (similar to the model) instead of directly uploading the image to the server (we would also use the image...
Not easy to add this feature: we can use dynamic import, readFile (or even fetch/ofetch) or just some iconify node helpers (ExternalPackageIconLoader, FileSystemIconLoader), just check https://github.com/unplugin/unplugin-icons/blob/main/examples/vite-vue3/vite.config.ts#L28-L39. For example, using Vite...
We also need to change the import to use `#imports`, I need to figure out how to do that.
We need a new release on `unimport` to collect info in `directives` context and update `imports` context: https://github.com/unjs/unimport/pull/381