Vue 2.x Nuxt Refresh Problem



I’ve began using the Gantt Library.
I’ve been closely following this tutorial

It’s working, however when I refresh the page (with F5 or Ctrl+R) I get RuntimeError, and enigmatic message that Window is not defined.

My stack is Vue 2.x + Nuxt + Typescript.

I’ve been thinking that it might have been a problem with SSR that Nuxt is providing, but wrapping gantt component with “client-only” tag doesn’t work either.

Kind regards.