/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
integration/platform-server-hydration/src/main.server.ts
8 строк
312 B
Alan Agius
feat(core): introduce `BootstrapContext` for improved server bootstrapping (#63562)
09 сен 2025, 20:57
09 сен 2025, 20:57
28926ba
Код
Авторство
О чём код?
import {bootstrapApplication, BootstrapContext} from '@angular/platform-browser'; import {AppComponent} from './app/app.component'; import {config} from './app/app.config.server'; const bootstrap = (context: BootstrapContext) => bootstrapApplication(AppComponent, config, context); export default bootstrap;