From 67dfb564072bac79aaf836d35b28cd07bbd5504e Mon Sep 17 00:00:00 2001 From: Sibiraj <20282546+sibiraj-s@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:45:55 +0530 Subject: [PATCH] chore: fix rendering client components in SSR --- projects/demo/src/app/app.routes.server.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/demo/src/app/app.routes.server.ts b/projects/demo/src/app/app.routes.server.ts index 28c14c5..d3f7765 100644 --- a/projects/demo/src/app/app.routes.server.ts +++ b/projects/demo/src/app/app.routes.server.ts @@ -1,6 +1,10 @@ import { RenderMode, ServerRoute } from '@angular/ssr'; export const serverRoutes: ServerRoute[] = [ + { + path: '', + renderMode: RenderMode.Client, + }, { path: '**', renderMode: RenderMode.Prerender,