import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { appConfig } from '../config/index'; // tslint:disable-line
import { FallbackComponent } from './fallback.component'; // tslint:disable-line
import { ModuleComponent } from './module.component';

const elementRoutes: Routes = [
    { path: '**', component: ModuleComponent },
];

@NgModule({
    imports: [
        RouterModule.forRoot(elementRoutes),
    ],
    exports: [
        RouterModule,
    ],
})
export class RoutingModule {
}
