cyrilf / vue-dat-gui

A Vue3 port of the popular dat.GUI library
https://cyrilf.github.io/vue-dat-gui/
MIT License
62 stars 9 forks source link

Nuxt: The client-side rendered virtual DOM tree is not matching server-rendered content. #26

Closed vin-ni closed 9 months ago

vin-ni commented 3 years ago

I further get this error in Nuxt:

error

It happens when i open the direct link that uses the plugin. If I go on the root page and navigate via nuxt, everything is fine and it loads. Not sure what could be causing this.

Maybe you have an idea :) Thank you!

cyrilf commented 3 years ago

Hey,

Thanks for reporting that. Unfortunately I don't have the time at the moment to look into it. Feel free to open a PR if you (or anyone) find a fix, I will appreciate that! :+1:

vin-ni commented 2 years ago

This is my current workaround:


<client-only>
   <dat-gui close-text="Close" open-text="Open" close-position="bottom">
  </client-only>`