mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
Rename to library
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
import { NgModule } from '@angular/core'
|
||||
import { RouteReuseStrategy, RouterModule, Routes } from '@angular/router'
|
||||
|
||||
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'
|
||||
import { LibraryComponent } from './components/library/library.component'
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'browse', component: BrowseComponent, data: { shouldReuse: true } },
|
||||
{ path: 'library', redirectTo: '/browse' },
|
||||
{ path: 'library', component: LibraryComponent, data: { shouldReuse: true } },
|
||||
{ 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' },
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user