SSR error - ReferenceError: document is not defined
Hi! 
I'm new to both Nuxt UI and SSR, so maybe I'm just missing something, but...
I'm using Nuxt UI Pro with Inertia and Laravel
I have set up SSR, and I can build the application just fine and also start the SSR server
But! When I try to access a page, I get this error:
The
The code on line 249:
Which is inside this if-statement:
I'm a bit stuck, and don't know what to search for, as my previous attempts gave me no real results
Does anyone know what I should be doing differently or where to go from here?
I'm new to both Nuxt UI and SSR, so maybe I'm just missing something, but...
I'm using Nuxt UI Pro with Inertia and Laravel
I have set up SSR, and I can build the application just fine and also start the SSR server
But! When I try to access a page, I get this error:
The
/bootstrap/ssr/ssr.js file is the output from the buildThe code on line 249:
const style = document.createElement("style");Which is inside this if-statement:
I'm a bit stuck, and don't know what to search for, as my previous attempts gave me no real results
Does anyone know what I should be doing differently or where to go from here?
