Skip to content

Commit

Permalink
Iniciado
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuevasa committed May 16, 2023
1 parent 64b0807 commit cdfdcbe
Show file tree
Hide file tree
Showing 7 changed files with 253 additions and 283 deletions.
497 changes: 214 additions & 283 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/router": "^15.2.0",
"@ng-bootstrap/ng-bootstrap": "^14.1.1",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.12.0"
Expand Down
Empty file added src/app/cafe/cafe.component.css
Empty file.
3 changes: 3 additions & 0 deletions src/app/cafe/cafe.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
cafe works!
</p>
15 changes: 15 additions & 0 deletions src/app/cafe/cafe.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-cafe',
templateUrl: './cafe.component.html',
styleUrls: ['./cafe.component.css']
})
export class CafeComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
11 changes: 11 additions & 0 deletions src/app/cafe/cafe.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CafeComponent } from './cafe.component';

@NgModule({
imports: [
CommonModule
],
declarations: [CafeComponent]
})
export class CafeModule { }
9 changes: 9 additions & 0 deletions src/app/cafe/cafe.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export class cafe
{
id: number;

constructor(id: number, nombre: string, precio: number)
{
this.id=id;
}
}

0 comments on commit cdfdcbe

Please sign in to comment.