add route to library
This commit is contained in:
1 parent
e69993ef7f
commit
2a72d32852
1 file changed
+2
@@ -4,6 +4,7 @@ import { HomeComponent } from './features/pages/home/home.component';
|
||||
import { SearchComponent } from './features/pages/search/search.component';
|
||||
import { TrendingComponent } from './features/pages/trending/trending.component';
|
||||
import { PopularComponent } from './features/pages/popular/popular.component';
|
||||
import { LibraryComponent } from './features/pages/library/library.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||
@@ -11,6 +12,7 @@ const routes: Routes = [
|
||||
{ path: 'search', component: SearchComponent },
|
||||
{ path: 'popular', component: PopularComponent },
|
||||
{ path: 'trending', component: TrendingComponent },
|
||||
{ path: 'library', component: LibraryComponent },
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
||||
Reference in new issue
Block a user