mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-19 08:50:13 +01:00
feat(tables): add a tables module
This commit is contained in:
parent
a361ce55ac
commit
21cd21fbef
13 changed files with 659 additions and 5 deletions
25
src/app/pages/tables/tables-routing.module.ts
Normal file
25
src/app/pages/tables/tables-routing.module.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { TablesComponent } from './tables.component';
|
||||
import { SmartTableComponent } from './smart-table/smart-table.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: TablesComponent,
|
||||
children: [{
|
||||
path: 'smart-table',
|
||||
component: SmartTableComponent,
|
||||
}],
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class TablesRoutingModule { }
|
||||
|
||||
export const routedComponents = [
|
||||
TablesComponent,
|
||||
SmartTableComponent,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue