mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
chore(app): update @nga/theme and fix styles according to linter
This commit is contained in:
parent
ff0e6adf60
commit
f127fd37e1
31 changed files with 173 additions and 188 deletions
|
|
@ -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 {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue