mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-27 10:33:12 +00:00
# Conflicts: # src/app/app.module.ts # src/app/main/content/apps/calendar/calendar.component.html # src/app/main/content/apps/contacts/contact-list/contact-list.component.html # src/app/main/content/apps/contacts/contacts.component.html # src/app/main/content/apps/contacts/contacts.component.scss # src/app/main/content/apps/contacts/contacts.module.ts # src/app/main/content/apps/contacts/contacts.service.ts # src/app/main/content/apps/contacts/selected-bar/selected-bar.component.html # src/app/main/content/apps/mail/sidenavs/main/main-sidenav.component.html # src/app/navigation.model.ts
49 lines
1.4 KiB
TypeScript
49 lines
1.4 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { HttpModule } from '@angular/http';
|
|
import { HttpClientModule } from '@angular/common/http';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import 'hammerjs';
|
|
import { SharedModule } from './core/modules/shared.module';
|
|
import { AppComponent } from './app.component';
|
|
import { PerfectScrollbarModule } from 'ngx-perfect-scrollbar';
|
|
import { FuseMainModule } from './main/main.module';
|
|
import { FuseSplashScreenService } from './core/services/splash-screen.service';
|
|
import { FuseConfigService } from './core/services/config.service';
|
|
import { FuseSampleModule } from './main/content/sample/sample.module';
|
|
|
|
const appRoutes: Routes = [
|
|
{
|
|
path : '**',
|
|
redirectTo: 'sample'
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent
|
|
],
|
|
imports : [
|
|
BrowserModule,
|
|
HttpModule,
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
RouterModule.forRoot(appRoutes),
|
|
SharedModule,
|
|
PerfectScrollbarModule.forRoot(),
|
|
FuseMainModule,
|
|
FuseSampleModule
|
|
],
|
|
providers : [
|
|
FuseSplashScreenService,
|
|
FuseConfigService
|
|
],
|
|
bootstrap : [
|
|
AppComponent
|
|
]
|
|
})
|
|
export class AppModule
|
|
{
|
|
}
|