Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

main.server.ts

15 lines395 Bytes

1import {
2 bootstrapApplication,
3 type BootstrapContext,
4} from '@angular/platform-browser'
5import { getServerConfig } from './app/app.config.server'
6import { SsrPersistExampleComponent } from './app/app.component'
7​
8const bootstrap = (context: BootstrapContext) =>
9 bootstrapApplication(
10 SsrPersistExampleComponent,
11 getServerConfig(context),
12 context,
13 )
14​
15export default bootstrap