mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Adds a dev app that can be used to prototype and debug things while developing Angular. Use `pnpm dev` to run it.
10 lines
411 B
TypeScript
10 lines
411 B
TypeScript
import {mergeApplicationConfig, ApplicationConfig} from '@angular/core';
|
|
import {provideServerRendering, withRoutes} from '@angular/ssr';
|
|
import {appConfig} from './app.config';
|
|
import {serverRoutes} from './app.routes.server';
|
|
|
|
const serverConfig: ApplicationConfig = {
|
|
providers: [provideServerRendering(withRoutes(serverRoutes))],
|
|
};
|
|
|
|
export const config = mergeApplicationConfig(appConfig, serverConfig);
|