Skip to content

Commit

Permalink
chore: fix rendering client components in SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Nov 28, 2024
1 parent 7f5f1e3 commit 67dfb56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/demo/src/app/app.routes.server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { RenderMode, ServerRoute } from '@angular/ssr';

export const serverRoutes: ServerRoute[] = [
{
path: '',
renderMode: RenderMode.Client,
},
{
path: '**',
renderMode: RenderMode.Prerender,
Expand Down

0 comments on commit 67dfb56

Please sign in to comment.