vuejs / devtools-next

The next iteration of Vue DevTools
https://devtools.vuejs.org/
MIT License
1.46k stars 103 forks source link

If the standalone app can be triggered from the overlay? #271

Closed LoTwT closed 6 months ago

LoTwT commented 7 months ago

description

I tried to use the devtools-next in a project powered by tauri v2 and vue3. The simulator's width isn't wide.

If the standalone app can be triggered from the overlay? If it can be implemented, it's helpful for better DX.

image
alexzhang1030 commented 7 months ago

You may want to open a separate window.

image

Standalone cannot access features that vite powered, so these two cannot combined.

LoTwT commented 7 months ago

You may want to open a separate window. image

Standalone cannot access features that vite powered, so these two cannot combined.

In my case, the separate window is always waiting for connection. It might be a bug.

alexzhang1030 commented 7 months ago

That's because the separate window feature uses MessageChannel for message communication. The only way is to open the user app and separate window dev tools in the same browser.

LoTwT commented 7 months ago

Could the separate window be designed to be compatible with cross-end apps powered by Electron and Tauri compatibly? Or developers should only explicitly use the standalone app?