nuxt / devtools

Unleash Nuxt Developer Experience
https://devtools.nuxt.com
MIT License
2.8k stars 153 forks source link

Nuxt + Devtools inside Electron does not load devtools correctly #603

Open mccombs opened 4 months ago

mccombs commented 4 months ago

🐛 The bug

When using Nuxt + Electron - devtools does not open the correct window/URL:

Screenshot 2024-02-24 at 4 43 37 PM

🛠️ To reproduce

https://github.com/mccombs/nuxt-electron

🌈 Expected behavior

Devtools should open the correct url OR support the ability to change the devtools url.

ℹ️ Additional context

No response

abarke commented 2 months ago

I have a related issue using electron@30.0.2 and nuxt-electron@0.7.0

Cannot read properties of undefined (reading 'initFetch')

image

I assume it's to do with localhost:3000 so if changing this to 127.0.0.1:3000 would solve this, then the devtools url needs to be configurable IMO.

------------------------------
- Operating System: Windows_NT
- Node Version:     v22.1.0
- Nuxt Version:     3.11.2
- CLI Version:      3.11.1
- Nitro Version:    2.8.1
- Package Manager:  pnpm@8.15.5
- Builder:          -
- User Config:      devServer, ssr, css, modules, electron, ionic, vite, nitro
- Runtime Modules:  @nuxtjs/ionic@0.13.1, nuxt-electron@0.7.0
- Build Modules:    -
------------------------------