Initial commit: Angular frontend and Expressjs backend

This commit is contained in:
chamikaJ
2024-05-17 09:32:30 +05:30
parent eb0a0d77d6
commit 298ca6beeb
3548 changed files with 193558 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {OverviewComponent} from './overview/overview.component';
import {UsersComponent} from './users/users.component';
import {TeamsComponent} from './teams/teams.component';
import {LayoutComponent} from './layout/layout.component';
const routes: Routes = [
{
path: '',
component: LayoutComponent,
children: [
{path: "", redirectTo: "overview", pathMatch: "full"},
{path: "overview", component: OverviewComponent},
{path: "users", component: UsersComponent},
{path: "teams", component: TeamsComponent},
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class AdminCenterRoutingModule {
}