mirror of https://github.com/OpenVidu/openvidu.git
22 lines
870 B
TypeScript
22 lines
870 B
TypeScript
import { provideZoneChangeDetection } from "@angular/core";
|
|
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { provideRouter, withHashLocation } from '@angular/router';
|
|
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
|
|
import { AppComponent } from './app/app.component';
|
|
import { routes } from './app/app.routes';
|
|
|
|
bootstrapApplication(AppComponent, {
|
|
providers: [
|
|
provideZoneChangeDetection(),provideRouter(routes, withHashLocation()),
|
|
provideAnimationsAsync(),
|
|
provideHttpClient(),
|
|
{
|
|
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
useValue: { appearance: 'outline', subscriptSizing: 'dynamic' },
|
|
},
|
|
],
|
|
}).catch((err) => console.error(err));
|