mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-01 19:30:15 +01:00
feat: update to Angular 8, Nebular 4 (#2114)
This commit is contained in:
parent
537e6a77b0
commit
e9600b4a07
323 changed files with 7421 additions and 14161 deletions
|
|
@ -1,25 +1,25 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { MiscellaneousComponent } from './miscellaneous.component';
|
||||
import { NotFoundComponent } from './not-found/not-found.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: MiscellaneousComponent,
|
||||
children: [{
|
||||
path: '404',
|
||||
component: NotFoundComponent,
|
||||
}],
|
||||
}];
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: MiscellaneousComponent,
|
||||
children: [
|
||||
{
|
||||
path: '404',
|
||||
component: NotFoundComponent,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class MiscellaneousRoutingModule { }
|
||||
|
||||
export const routedComponents = [
|
||||
MiscellaneousComponent,
|
||||
NotFoundComponent,
|
||||
];
|
||||
export class MiscellaneousRoutingModule {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,20 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { NbCardModule } from '@nebular/theme';
|
||||
|
||||
import { ThemeModule } from '../../@theme/theme.module';
|
||||
import { MiscellaneousRoutingModule, routedComponents } from './miscellaneous-routing.module';
|
||||
import { MiscellaneousRoutingModule } from './miscellaneous-routing.module';
|
||||
import { MiscellaneousComponent } from './miscellaneous.component';
|
||||
import { NotFoundComponent } from './not-found/not-found.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
ThemeModule,
|
||||
NbCardModule,
|
||||
MiscellaneousRoutingModule,
|
||||
],
|
||||
declarations: [
|
||||
...routedComponents,
|
||||
MiscellaneousComponent,
|
||||
NotFoundComponent,
|
||||
],
|
||||
})
|
||||
export class MiscellaneousModule { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue