ngx-admin/src/app/app.module.ts

37 lines
1 KiB
TypeScript
Raw Normal View History

2017-04-11 19:09:02 +03:00
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { APP_BASE_HREF } from '@angular/common';
2017-04-11 19:09:02 +03:00
import { BrowserModule } from '@angular/platform-browser';
2017-05-11 18:31:55 +03:00
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2017-04-11 19:09:02 +03:00
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { CoreModule } from './@core/core.module';
2017-04-11 19:09:02 +03:00
import { AppComponent } from './app.component';
2017-04-13 14:24:23 +03:00
import { AppRoutingModule } from './app-routing.module';
import { ThemeModule } from './@theme/theme.module';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
2017-04-11 19:09:02 +03:00
@NgModule({
2017-04-13 14:24:23 +03:00
declarations: [AppComponent],
2017-04-11 19:09:02 +03:00
imports: [
BrowserModule,
2017-05-11 18:31:55 +03:00
BrowserAnimationsModule,
2017-04-11 19:09:02 +03:00
HttpModule,
2017-04-13 14:24:23 +03:00
AppRoutingModule,
NgbModule.forRoot(),
ThemeModule.forRoot(),
CoreModule.forRoot(),
2017-04-11 19:09:02 +03:00
],
bootstrap: [AppComponent],
providers: [
{ provide: APP_BASE_HREF, useValue: '/' },
],
2017-04-11 19:09:02 +03:00
})
2017-04-13 14:24:23 +03:00
export class AppModule {
}