feat(register): add register page with routing and form implementation
This commit is contained in:
@@ -3,6 +3,7 @@ import { Routes } from '@angular/router';
|
||||
import { AuthLayoutComponent } from '../../core/layout/auth-layout/auth-layout.component';
|
||||
import { StoreLayoutComponent } from '../../core/layout/store-layout/store-layout.component';
|
||||
import { LoginPageComponent } from './pages/login-page/login-page.component';
|
||||
import { RegisterPageComponent } from './pages/register-page/register-page.component';
|
||||
import { StoreHomePageComponent } from './pages/store-home-page/store-home-page.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
@@ -24,6 +25,16 @@ export const routes: Routes = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'register',
|
||||
component: AuthLayoutComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: RegisterPageComponent
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'producto/:id',
|
||||
loadComponent: () =>
|
||||
|
||||
Reference in New Issue
Block a user