Added API and first UI

This commit is contained in:
2017-02-26 21:08:38 +01:00
parent 23e47005cf
commit 373fdf8417
33 changed files with 784 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Component } from '@angular/core';
@Component({
moduleId: module.id,
selector: 'my-app',
template: `
<h1>{{title}}</h1>
<nav>
<a routerLink="/dashboard" routerLinkActive="active">Dashboard</a>
<a routerLink="/beers" routerLinkActive="active">Beers</a>
</nav>
<router-outlet></router-outlet>
`,
styleUrls: [ './app.component.css' ]
})
export class AppComponent {
title = 'Avans Beertracker';
}