DEV Community

Discussion on: What is the NuxtIsland component? 🏝️

Collapse
 
woldtwerk profile image
Willi

I think that your example doesn't work correctly. There are a few component types that require a single root element in nuxt. The last time I used island it didn't work properly without a single root.

Collapse
 
michalkuncio profile image
Michał Kuncio

Hmm it's strange because it is working for me but it indeed produces an error: clone.querySelectorAll is not a function

Thanks for pointing it out!