I am trying to create a webpage, using nuxt, which needs to have hooks on the window object.
For example, I have a c++ endpoint, that spawns a browser and then calls into a Javascript function that would be registered on the window object. This Javascript function is a part of a vue component (that i need to register on the window object).
Curious as to what is the best way to achieve this?
I do understand this might not be a situation that is meant to be handled by nuxt, but i am looking for a safe workaround for implementing this.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2276">#c2276</a>)</em></sub></div>