Relative Content

Tag Archive for typescriptroutessveltekitsvelte-component

Loading components in Sveltekit

I’m working on a SvelteKit app where I need to conditionally load one of two components, Comp1 or Comp2, based on server-side logic. Here’s a simplified overview of my setup: