nuxt / devtools

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

help: Unable to Use Nuxt DevTools When Enabling Cross-Origin Isolation for Web Containers #595

Closed Speelwolf closed 7 months ago

Speelwolf commented 7 months ago

📚 What are you trying to do?

I'm trying to configure COOP/COEP headers in my Nuxt application to enable working with web containers. Specifically, I need to set the following headers:

🔍 What have you tried?

SettingHeaders

ℹī¸ Additional context

I'm unable to use Nuxt devtools. Specifically, I encountered the following error in the console:

DevtoolsError

tillsanders commented 7 months ago

I'm not sure, but are these links any help? I had a somewhat similar issue and they solved mine:

Speelwolf commented 7 months ago

The COOP/COEP headers are needed even in development because WebContainer requires SharedArrayBuffer.