création composants
This commit is contained in:
parent
96899ca70d
commit
c4c077fd00
42 changed files with 432 additions and 484 deletions
1
src/app/card-resto/card-resto.component.html
Normal file
1
src/app/card-resto/card-resto.component.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<p>card-resto works!</p>
|
||||
0
src/app/card-resto/card-resto.component.scss
Normal file
0
src/app/card-resto/card-resto.component.scss
Normal file
25
src/app/card-resto/card-resto.component.spec.ts
Normal file
25
src/app/card-resto/card-resto.component.spec.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { CardRestoComponent } from './card-resto.component';
|
||||
|
||||
describe('CardRestoComponent', () => {
|
||||
let component: CardRestoComponent;
|
||||
let fixture: ComponentFixture<CardRestoComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ CardRestoComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(CardRestoComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
15
src/app/card-resto/card-resto.component.ts
Normal file
15
src/app/card-resto/card-resto.component.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-card-resto',
|
||||
templateUrl: './card-resto.component.html',
|
||||
styleUrls: ['./card-resto.component.scss']
|
||||
})
|
||||
export class CardRestoComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue