mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 14:02:43 +08:00
This commit revises the app-shell and ssr schematics to incorporate the new Server Rendering API, along with the integration of server-side routes. BREAKING CHANGE: The app-shell schematic is no longer compatible with Webpack-based builders.
9 lines
166 B
Plaintext
9 lines
166 B
Plaintext
import { RenderMode, ServerRoute } from '@angular/ssr';
|
|
|
|
export const serverRoutes: ServerRoute[] = [
|
|
{
|
|
path: '**',
|
|
renderMode: RenderMode.Prerender
|
|
}
|
|
];
|