江程训
江程训
> mmm but this method exists, [https://vitejs.dev/guide/ssr.html](url), and this library is called vite-ssg, no vite-ssr, i dont understand why want to do it that exists today (and the native method)...
> Seeing the same issue with `vite-SSG` + `NauiveUI` I have same question
I have same error
@hannoeru @antfu Are there any people?
> add `workbox-window` to your dev dependencies I tried it, but the problem remains. The latest modifications have been submitted to the sample repository.
1. I will try it. 2. You mean I just need to register manually and set the relevant options? 3. onLaunch is a function triggered when starting in the life...
Regarding question 1, this method is useless. The specific error is as follows ```console TypeError: Failed to resolve module specifier '..-..-..-..-@vite-plugin-pwa-virtual:pwa-register-vue.eca0a462.js' at index-14fb415a.js:6:86683 at t (index-14fb415a.js:1:762) at index-14fb415a.js:6:86676 at Dn...
> > You mean I just need to register manually and set the relevant options? > > Remove virtual pwa call (and static import) and register the sw yourself: https://vite-pwa-org.netlify.app/guide/service-worker-without-pwa-capabilities.html#registering-of-the-service-worker-in-your-app...
> Weird, this is the code in the entry point: > > ```js > const {useRegisterSW: e} = await t((()=>import("..-..-..-..-@vite-plugin-pwa-virtual:pwa-register-vue.911fca92.js")), [], import.meta.url); > ``` Yes, I also feel very strange....
Latest news: My friend gave me feedback that there was no problem with the 0.12.3 version of the plug-in used in his project, but the situation I reported appeared when...