caoxiemeihao / nuxt-electron

Integrate Nuxt and Electron
MIT License
190 stars 21 forks source link

Infinite refreshing when `disableDefaultOptions != false` #89

Open reitowo opened 2 months ago

reitowo commented 2 months ago

I build up the minimal project and when I use with latest deps, pnpm run dev will cause the vue page infinitely refresh rapidly. Seems because this plugin tries to modify the option and cause nuxt to reload.

reitowo commented 2 months ago

repro.zip

ormizj commented 2 months ago

I didn't explore the source of the issue, but I noticed when using the latest nuxt version, also causes other issues, even after disabling default options. caused me problems running the executable after running build for example, I'm currently using "nuxt": "3.6.5", in my electron projects to avoid these issues

reitowo commented 2 months ago

Oh, seems dup of https://github.com/caoxiemeihao/nuxt-electron/issues/74