devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Nuxt + Devtools inside Electron does not load devtools correctly

Open mcmadafly opened this issue 1 year ago • 1 comments

🐛 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

mcmadafly avatar Feb 24 '24 23:02 mcmadafly

I have a related issue using [email protected] and [email protected]

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:  [email protected]
- Builder:          -
- User Config:      devServer, ssr, css, modules, electron, ionic, vite, nitro
- Runtime Modules:  @nuxtjs/[email protected], [email protected]
- Build Modules:    -
------------------------------

abarke avatar May 06 '24 10:05 abarke