Skip to content

Commit

Permalink
routing works
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasBeck777 committed Oct 23, 2022
1 parent 50c17d5 commit 64af91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src3/AngularUi/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<h1>{{title}}</h1>

<app-checkout></app-checkout>

<nav>
<a routerLink="/dashboard">Dashboard</a><br/>
<a routerLink="/orders">Orders</a>
<a routerLink="/checkout">Checkout</a>
</nav>

<router-outlet></router-outlet>
4 changes: 1 addition & 3 deletions src4/AngularUi/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<h1>{{title}}</h1>

<app-checkout></app-checkout>

<nav>
<a routerLink="/dashboard">Dashboard</a><br/>
<a routerLink="/orders">Orders</a>
<a routerLink="/checkout">Checkout</a>
</nav>

<router-outlet></router-outlet>

0 comments on commit 64af91f

Please sign in to comment.