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.
Senior frontend engineer, Vue.js enthusiast 💚 I'm writing about modern webdev at https://michalkuncio.com. You can also check my twitter account: https://twitter.com/michalkuncio
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.
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!