Guest User

Untitled

a guest
Oct 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Failed to compile.
  2.  
  3. ./src/app/menu/menu.component.ts
  4. Module not found: Error: Can't resolve './menu/menu.component.html' in '/home/fly/myangular/conFusion/src/app/menu'
  5.  
  6. @Component({
  7. selector: 'app-menu',
  8. template: `
  9. <p>
  10. menu worksx!
  11. </p>
  12. `,
  13. styles: [],
  14. templateUrl: './menu/menu.component.html',
  15. styleUrls: ['./menu/menu.component.scss']
  16. })
  17.  
  18. <div class="container"
  19. fxLayout="column"
  20. fxLayoutGap="10px">
  21.  
  22. <mat-list fxFlex>
  23. <mat-list-item *ngFor="let dish of dishes">
  24. <img matListAvatar src={{ dish.image }} alt={{ dish.name }}>
  25. <h1 matLine> {{ dish.name }} </h1>
  26. <p matLine>
  27. <span> {{ dish.description }} </span>
  28. </p>
  29. </mat-list-item>
  30. </mat-list>
  31.  
  32. </div>
Add Comment
Please, Sign In to add comment