Replies: 1 comment 2 replies
-
Hi, yes, you should be able to run from a non-Node-RED server, the client allows for it. However, it isn't a well-tested approach so we might need to do some rapid tweaks. 😊 To use a 3rd-party server, you generally need to pass some parameters to the The alternative would be to use Node-RED/uibuilder to provide the full server. However, I've not really played with SvelteKit so I don't know what that would entail. But still, especially since uibuilder allows you to have an ExpressJS server on a separate port to Node-RED's server and with completely different settings, if you are planning to run your SSR from ExpressJS, it should be possible to do with uibuilder. Untested of course but might be interesting to at least have a try-out to see if it is feasible as it might save you the effort of running a separate web server. Would be a nice contribution to the uibuilder community as well of course. |
Beta Was this translation helpful? Give feedback.
-
Hi, I couldn't figure out how to run multi page pre-rendered SvelteKit application, so I ran it as static generated page app with main index.html, because uibuilder requires that to be present at all times. However I would like it to run with server side rendering. So I assume one approach would involve generating a handler.js on build with svelte kit node adapter and passing it down to express js as written here. Would that work with uibuilder?
Beta Was this translation helpful? Give feedback.
All reactions