Commit 18d486fce7fbc8d9d52ef53a5e50d90dc014137a
1 parent
654425c399
Exists in
master
login finish
Showing
3 changed files
with
8 additions
and
7 deletions
Show diff stats
src/app/app-routing.module.ts
... | ... | @@ -2,11 +2,13 @@ import { NgModule } from '@angular/core'; |
2 | 2 | import { Routes, RouterModule } from '@angular/router'; |
3 | 3 | import { ComprobantesComponent } from './comprobantes/comprobantes.component'; |
4 | 4 | import { AppBotonera } from './botonera/botonera.component'; |
5 | +import { LoginComponent } from './login/login.component'; | |
5 | 6 | |
6 | 7 | const routes: Routes = [ |
7 | 8 | { path: 'comprobantes', component: ComprobantesComponent, pathMatch: 'full' }, |
8 | 9 | { path: '', redirectTo: 'home', pathMatch: 'full' }, |
9 | - { path: 'home', component: AppBotonera } | |
10 | + { path: 'home', component: AppBotonera }, | |
11 | + { path: 'login', component: LoginComponent } | |
10 | 12 | ]; |
11 | 13 | |
12 | 14 | @NgModule({ |
src/app/app.module.ts
... | ... | @@ -11,6 +11,8 @@ import { AppBotonera } from './botonera/botonera.component'; |
11 | 11 | import { ComprobantesComponent } from './comprobantes/comprobantes.component'; |
12 | 12 | import { NombreEmpresaComponent } from './nombre-empresa/nombre-empresa.component'; |
13 | 13 | import { AccionesComponent } from './acciones/acciones.component'; |
14 | +import { LoginComponent } from './login/login.component'; | |
15 | +import { BusquedaComprobanteComponent } from './busqueda-comprobante/busqueda-comprobante.component'; | |
14 | 16 | |
15 | 17 | @NgModule({ |
16 | 18 | declarations: [ |
... | ... | @@ -18,7 +20,9 @@ import { AccionesComponent } from './acciones/acciones.component'; |
18 | 20 | AppBotonera, |
19 | 21 | ComprobantesComponent, |
20 | 22 | NombreEmpresaComponent, |
21 | - AccionesComponent | |
23 | + AccionesComponent, | |
24 | + LoginComponent, | |
25 | + BusquedaComprobanteComponent | |
22 | 26 | ], |
23 | 27 | imports: [ |
24 | 28 | BrowserModule, |