michals-silly-game-frontend/src/main.ts

16 lines
523 B
TypeScript
Raw Normal View History

2025-04-07 09:20:49 +00:00
import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
2025-04-07 12:02:55 +00:00
import { provideHttpClient } from '@angular/common/http';
2025-04-10 12:19:01 +00:00
import { provideRouter } from '@angular/router';
import { routes } from './app/app.routes';
2025-04-07 09:20:49 +00:00
bootstrapApplication(AppComponent, appConfig)
.catch((err) => console.error(err));
2025-04-07 12:02:55 +00:00
bootstrapApplication(AppComponent, {
providers: [
2025-04-10 12:19:01 +00:00
provideHttpClient(),
provideRouter(routes)
2025-04-07 12:02:55 +00:00
]
});