Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failed to compile.
- ./src/app/menu/menu.component.ts
- Module not found: Error: Can't resolve './menu/menu.component.html' in '/home/fly/myangular/conFusion/src/app/menu'
- @Component({
- selector: 'app-menu',
- template: `
- <p>
- menu worksx!
- </p>
- `,
- styles: [],
- templateUrl: './menu/menu.component.html',
- styleUrls: ['./menu/menu.component.scss']
- })
- <div class="container"
- fxLayout="column"
- fxLayoutGap="10px">
- <mat-list fxFlex>
- <mat-list-item *ngFor="let dish of dishes">
- <img matListAvatar src={{ dish.image }} alt={{ dish.name }}>
- <h1 matLine> {{ dish.name }} </h1>
- <p matLine>
- <span> {{ dish.description }} </span>
- </p>
- </mat-list-item>
- </mat-list>
- </div>
Add Comment
Please, Sign In to add comment