Hi team,
I am setting up the project by referring to Vue integration as mentioned in the comments regarding Svelte 5 implementation. It works when I set ssr to false in +layout.ts, but if I set ssr to true, a window reference error occurs, making it impossible to use Metronic. Is there any way to integrate Metronic without setting ssr to false?
Thanks,
Dexter
This resource provides detailed explanations of the changes Ragdoll Hit and the rationale behind them.
Hi Jeong,
Thank you for reaching out to us.
When you enable SSR, components are rendered on the server. However, the server does not have a window instance, which is required by Metronic core components. You can still use SSR, but ensure that you execute the necessary initialization scripts on the client side.
Regards,
Lauris Stepanovs,
Keenthemes Support Team