chore(app): update @nga/theme and fix styles according to linter

This commit is contained in:
tibing 2017-04-21 17:23:44 +03:00
parent ff0e6adf60
commit f127fd37e1
31 changed files with 173 additions and 188 deletions

View file

@ -3,18 +3,18 @@ import { NgModule } from '@angular/core';
const routes: Routes = [
// {path: 'admin'}
{path: 'pages', loadChildren: 'app/pages/pages.module#PagesModule'},
{path: '', redirectTo: 'pages', pathMatch: 'full'},
{path: '**', redirectTo: 'pages'}
{ path: 'pages', loadChildren: 'app/pages/pages.module#PagesModule' },
{ path: '', redirectTo: 'pages', pathMatch: 'full' },
{ path: '**', redirectTo: 'pages' },
];
const config: ExtraOptions = {
useHash: true
useHash: true,
};
@NgModule({
imports: [RouterModule.forRoot(routes, config)],
exports: [RouterModule]
exports: [RouterModule],
})
export class AppRoutingModule {
}