2022-01-19 17:24:11 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { AppRoutingModule } from './app.routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
|
|
|
|
import { environment } from 'src/environments/environment';
|
|
|
|
|
|
|
|
// openvidu-components-angular
|
|
|
|
|
|
|
|
import { CallComponent } from './openvidu-call/call.component';
|
|
|
|
import { ToolbarTestComponent } from './components/toolbar-test/toolbar-test.component';
|
|
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
|
|
import { ChatTestComponent } from './components/chat-test/chat-test.component';
|
|
|
|
import { LayoutTestComponent } from './components/layout-test/layout-test.component';
|
|
|
|
import { ParticipantTestComponent } from './components/participant-test/participant-test.component';
|
|
|
|
|
2022-01-20 09:58:12 +01:00
|
|
|
import { OpenviduAngularModule, UserSettingsComponent, ChatComponent, ToolbarComponent, RoomComponent, LayoutComponent } from 'openvidu-angular';
|
2022-01-19 17:24:11 +01:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
DashboardComponent,
|
|
|
|
CallComponent,
|
|
|
|
ToolbarTestComponent,
|
|
|
|
ChatTestComponent,
|
|
|
|
LayoutTestComponent,
|
|
|
|
ParticipantTestComponent
|
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
MatButtonModule,
|
|
|
|
BrowserAnimationsModule,
|
2022-01-20 09:58:12 +01:00
|
|
|
OpenviduAngularModule.forRoot(environment),
|
2022-01-19 17:24:11 +01:00
|
|
|
AppRoutingModule // Order is important, AppRoutingModule must be the last import for useHash working
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
UserSettingsComponent,
|
|
|
|
ToolbarComponent,
|
|
|
|
ChatComponent,
|
|
|
|
RoomComponent,
|
|
|
|
LayoutComponent
|
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|