diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-05 22:03:03 +0100 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-03-05 22:03:03 +0100 |
commit | cd2188997ff4cbcce83e3cada3fc220375ebc78e (patch) | |
tree | 3e82fff661cc20c33198c0f330e3f8c733a6e0a4 /frontend/src/app/app-routing.module.ts | |
parent | 843c57eba8709d1001cf8cae3a0180f865171167 (diff) |
Login and Register page - v. 0.1.0
Diffstat (limited to 'frontend/src/app/app-routing.module.ts')
-rw-r--r-- | frontend/src/app/app-routing.module.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 02972627..3fe2bc13 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -1,7 +1,13 @@ import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; -const routes: Routes = []; +import { LoginPageComponent } from './_pages/login-page/login-page.component'; +import { RegisterPageComponent } from './_pages/register-page/register-page.component'; + +const routes: Routes = [ + { path: 'login', component: LoginPageComponent }, + { path: 'register', component: RegisterPageComponent } +]; @NgModule({ imports: [RouterModule.forRoot(routes)], |