| .. | .. |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | import { AppComponent } from './app.component'; |
|---|
| 4 | 4 | import { PackListComponent } from './pack.list.component'; |
|---|
| 5 | +import { LoginFormComponent } from './login.form.component'; |
|---|
| 5 | 6 | |
|---|
| 6 | 7 | const routes: Routes = [ |
|---|
| 7 | | - {path: '', redirectTo: '/packs', pathMatch: 'full'}, |
|---|
| 8 | + // {path: '', redirectTo: '/packs', pathMatch: 'full'}, |
|---|
| 8 | 9 | {path: 'packs', component: PackListComponent }, |
|---|
| 10 | + {path: 'login', component: LoginFormComponent } |
|---|
| 9 | 11 | ]; |
|---|
| 10 | 12 | /* {path: 'product', component: DashboardProductComponent, children: [ |
|---|
| 11 | 13 | {path: '', component: ProductOverviewComponent}, |
|---|