Spartacus 2211 SSR

44 views Asked by At

Just try to start some project with enabled SSR at SAP Composable Storefront 2211. Looks like cause of Angular 17 upgrade SSR part was changed. I was struggling how to start serve and to see working SSR, seems like documentation not updated.

Can somebody suggest how to do this, as it not works the same as in previous versions?

1

There are 1 answers

0
JorisQ On

server.ts changed. Please check those line

import { dirname, join, resolve } from 'node:path';
const indexHtml = join(serverDistFolder, 'index.server.html');