import { Component, ModuleWithProviders } from '@angular/core';
import { Router, RouterModule, Routes } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';

import { HttpClient, HttpClientModule } from '@angular/common/http';
import { NotFoundComponent } from '../core/components/notfound';

export const routes: Routes = [
    // {
    //    path: 'heroes', loadChildren: '../lazy/lazy.module#LazyModule'
    // },
    {
        path: '',
        redirectTo: 'discover',
        pathMatch: 'full'
    }
];

export const routing: ModuleWithProviders = RouterModule.forRoot(routes, { enableTracing: true });
