Skip to content

Commit 1f13cfe

Browse files
Part 8
Part 8
1 parent 2d0e0df commit 1f13cfe

19 files changed

+1029
-542
lines changed

UserManagement.API/ClientApp/angular.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"src/assets"
2525
],
2626
"styles": [
27+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
2728
"src/styles.css"
2829
],
2930
"scripts": []
@@ -88,6 +89,7 @@
8889
"src/assets"
8990
],
9091
"styles": [
92+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
9193
"src/styles.css"
9294
],
9395
"scripts": []
@@ -119,6 +121,10 @@
119121
}
120122
}
121123
}
122-
}},
123-
"defaultProject": "ClientApp"
124-
}
124+
}
125+
},
126+
"defaultProject": "ClientApp",
127+
"cli": {
128+
"analytics": false
129+
}
130+
}

UserManagement.API/ClientApp/package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UserManagement.API/ClientApp/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"private": true,
1313
"dependencies": {
1414
"@angular/animations": "~10.2.0",
15+
"@angular/cdk": "^10.2.7",
1516
"@angular/common": "~10.2.0",
1617
"@angular/compiler": "~10.2.0",
1718
"@angular/core": "~10.2.0",
1819
"@angular/forms": "~10.2.0",
20+
"@angular/material": "^10.2.7",
1921
"@angular/platform-browser": "~10.2.0",
2022
"@angular/platform-browser-dynamic": "~10.2.0",
2123
"@angular/router": "~10.2.0",
Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
3+
import { ListUsersComponent } from './usermanagement/list-users/list-users.component';
34

4-
const routes: Routes = [];
5+
const routes: Routes = [
6+
{
7+
path: '',
8+
redirectTo: 'home',
9+
pathMatch: 'full'
10+
},
11+
{
12+
path: 'home',
13+
component: ListUsersComponent,
14+
}
15+
, { path: '**', redirectTo: 'home' }
16+
];
517

618
@NgModule({
719
imports: [RouterModule.forRoot(routes)],
820
exports: [RouterModule]
921
})
10-
export class AppRoutingModule { }
22+
export class AppRoutingModule { }

0 commit comments

Comments
 (0)