feat: reworked portfolio
This commit is contained in:
+14
-5
@@ -1,9 +1,18 @@
|
||||
import {bootstrapApplication} from '@angular/platform-browser';
|
||||
import {ApplicationRef} from '@angular/core';
|
||||
import type { BootstrapContext } from '@angular/platform-browser';
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import type { ApplicationRef } from '@angular/core';
|
||||
import { provideZoneChangeDetection } from '@angular/core';
|
||||
|
||||
import {AppComponent} from './app/app.component';
|
||||
import {config} from './app/app.config.server';
|
||||
import { AppComponent } from './app/app.component';
|
||||
import { config } from './app/app.config.server';
|
||||
|
||||
const bootstrap: () => Promise<ApplicationRef> = (): Promise<ApplicationRef> => bootstrapApplication(AppComponent, config);
|
||||
const bootstrap: (context: BootstrapContext) => Promise<ApplicationRef> = (
|
||||
context: BootstrapContext,
|
||||
): Promise<ApplicationRef> =>
|
||||
bootstrapApplication(
|
||||
AppComponent,
|
||||
{ ...config, providers: [provideZoneChangeDetection(), ...config.providers] },
|
||||
context,
|
||||
);
|
||||
|
||||
export default bootstrap;
|
||||
|
||||
Reference in New Issue
Block a user