Commit 5f5417202b38100088e2239de8ebbba1ccfab507
1 parent
c2473050e4
Exists in
master
and in
2 other branches
Agregado componenete seleccion de productos
Showing
6 changed files
with
67 additions
and
0 deletions
Show diff stats
src/app/modules/seleccion-productos/seleccion-productos-routing.module.ts
File was created | 1 | import { NgModule } from '@angular/core'; | |
2 | import { Routes, RouterModule } from '@angular/router'; | ||
3 | |||
4 | |||
5 | const routes: Routes = []; | ||
6 | |||
7 | @NgModule({ | ||
8 | imports: [RouterModule.forChild(routes)], | ||
9 | exports: [RouterModule] | ||
10 | }) | ||
11 | export class SeleccionProductosRoutingModule { } | ||
12 |
src/app/modules/seleccion-productos/seleccion-productos.component.html
File was created | 1 | <p>seleccion-productos works!</p> | |
2 |
src/app/modules/seleccion-productos/seleccion-productos.component.scss
src/app/modules/seleccion-productos/seleccion-productos.component.spec.ts
File was created | 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | |||
3 | import { SeleccionProductosComponent } from './seleccion-productos.component'; | ||
4 | |||
5 | describe('SeleccionProductosComponent', () => { | ||
6 | let component: SeleccionProductosComponent; | ||
7 | let fixture: ComponentFixture<SeleccionProductosComponent>; | ||
8 | |||
9 | beforeEach(async(() => { | ||
10 | TestBed.configureTestingModule({ | ||
11 | declarations: [ SeleccionProductosComponent ] | ||
12 | }) | ||
13 | .compileComponents(); | ||
14 | })); | ||
15 | |||
16 | beforeEach(() => { | ||
17 | fixture = TestBed.createComponent(SeleccionProductosComponent); | ||
18 | component = fixture.componentInstance; | ||
19 | fixture.detectChanges(); | ||
20 | }); | ||
21 | |||
22 | it('should create', () => { | ||
23 | expect(component).toBeTruthy(); | ||
24 | }); | ||
25 | }); | ||
26 |
src/app/modules/seleccion-productos/seleccion-productos.component.ts
File was created | 1 | import { Component, OnInit } from '@angular/core'; | |
2 | |||
3 | @Component({ | ||
4 | selector: 'app-seleccion-productos', | ||
5 | templateUrl: './seleccion-productos.component.html', | ||
6 | styleUrls: ['./seleccion-productos.component.scss'] | ||
7 | }) | ||
8 | export class SeleccionProductosComponent implements OnInit { | ||
9 | |||
10 | constructor() { } | ||
11 | |||
12 | ngOnInit() { | ||
13 | } | ||
14 | |||
15 | } | ||
16 |
src/app/modules/seleccion-productos/seleccion-productos.module.ts
File was created | 1 | import { NgModule } from '@angular/core'; | |
2 | import { CommonModule } from '@angular/common'; | ||
3 | |||
4 | import { SeleccionProductosRoutingModule } from './seleccion-productos-routing.module'; | ||
5 | import { SeleccionProductosComponent } from './seleccion-productos.component'; | ||
6 | |||
7 | |||
8 | @NgModule({ | ||
9 | declarations: [SeleccionProductosComponent], | ||
10 | imports: [ | ||
11 | CommonModule, | ||
12 | SeleccionProductosRoutingModule | ||
13 | ] | ||
14 | }) | ||
15 | export class SeleccionProductosModule { } | ||
16 |