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

main.server.ts

11 lines364 Bytes

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