Add AppRouter and Components

This commit is contained in:
2020-03-25 18:03:58 +01:00
parent e78e9da24c
commit 281e8b5211
11 changed files with 120 additions and 5 deletions

View File

@ -1,8 +1,13 @@
import { EntryListingComponent } from './entry-listing/entry-listing.component';
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SongSearchComponent } from './song-search/song-search.component';
const routes: Routes = [];
const routes: Routes = [
{path: '', component: EntryListingComponent },
{path: 'songs', component: SongSearchComponent}
];
@NgModule({
imports: [RouterModule.forRoot(routes)],