Add playlists

This commit is contained in:
Myx
2025-03-21 23:00:06 +01:00
committed by Myx
parent b5658ce37f
commit 50a69c9598
14 changed files with 418 additions and 3 deletions

View File

@@ -5,12 +5,14 @@ import { BrowseComponent } from './components/browse/browse.component'
import { SettingsComponent } from './components/settings/settings.component'
import { ToolsComponent } from './components/tools/tools.component'
import { TabPersistStrategy } from './core/tab-persist.strategy'
import { PlaylistComponent } from './components/playlist/playlist.component'
const routes: Routes = [
{ path: 'browse', component: BrowseComponent, data: { shouldReuse: true } },
{ path: 'library', redirectTo: '/browse' },
{ path: 'tools', component: ToolsComponent, data: { shouldReuse: true } },
{ path: 'settings', component: SettingsComponent, data: { shouldReuse: true } },
{ path: 'playlist', component: PlaylistComponent, data: { shouldReuse: true } },
{ path: 'about', redirectTo: '/browse' },
{ path: '**', redirectTo: '/browse' },
]