Skip to content

Commit 529db8a

Browse files
committed
first commit
1 parent 8dfa4f0 commit 529db8a

27 files changed

+382
-556
lines changed

angular.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"src/assets"
2929
],
3030
"styles": [
31+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
3132
"src/styles.scss"
3233
],
3334
"scripts": []
@@ -92,6 +93,7 @@
9293
"src/assets"
9394
],
9495
"styles": [
96+
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
9597
"src/styles.scss"
9698
],
9799
"scripts": []
@@ -123,6 +125,7 @@
123125
}
124126
}
125127
}
126-
}},
128+
}
129+
},
127130
"defaultProject": "admin-panel-layout"
128-
}
131+
}

package-lock.json

+25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@
77
"build": "ng build",
88
"test": "ng test",
99
"lint": "ng lint",
10-
"e2e": "ng e2e"
10+
"e2e": "ng e2e",
11+
"postinstall": "ngcc"
1112
},
1213
"private": true,
1314
"dependencies": {
1415
"@angular/animations": "~10.2.0",
16+
"@angular/cdk": "^10.2.7",
1517
"@angular/common": "~10.2.0",
1618
"@angular/compiler": "~10.2.0",
1719
"@angular/core": "~10.2.0",
1820
"@angular/forms": "~10.2.0",
21+
"@angular/material": "^10.2.7",
1922
"@angular/platform-browser": "~10.2.0",
2023
"@angular/platform-browser-dynamic": "~10.2.0",
2124
"@angular/router": "~10.2.0",

src/app/app-routing.module.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
3+
import { DashboardComponent } from './dashboard/dashboard.component';
4+
import { HomeComponent } from './home/home.component';
35

4-
const routes: Routes = [];
6+
const routes: Routes = [
7+
{ path: '', redirectTo: 'home', pathMatch: 'full' },
8+
{ path: 'home', component: HomeComponent },
9+
{ path: 'dashboard', component: DashboardComponent },
10+
];
511

612
@NgModule({
713
imports: [RouterModule.forRoot(routes)],
8-
exports: [RouterModule]
14+
exports: [RouterModule],
915
})
10-
export class AppRoutingModule { }
16+
export class AppRoutingModule {}

0 commit comments

Comments
 (0)