Basisimplementierung Songlist

This commit is contained in:
2019-11-24 15:57:20 +01:00
committed by smuddy
parent 9897e66d50
commit 87aeb62a2a
57 changed files with 777 additions and 59 deletions

View File

@@ -0,0 +1,24 @@
import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {SongComponent} from "./song/song.component";
import {SongListComponent} from "./song-list/song-list.component";
const routes: Routes = [
{
path: '',
component: SongListComponent,
pathMatch: 'full'
},
{
path: ':songId',
component: SongComponent
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class SongsRoutingModule {
}