File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
frontend/src/angular/src/app Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1111 limitations under the License.
1212 */
1313import { Routes } from "@angular/router" ;
14- import { SearchComponent } from "./search/search.component" ;
1514
1615export const routes : Routes = [
17- { path : "search" , component : SearchComponent } ,
16+ { path : "search" , loadComponent : ( ) => import ( "./search/search.component" ) . then ( m => m . SearchComponent ) } ,
1817 { path : "movie/:id" , loadComponent : ( ) => import ( "./movies/movies.component" ) . then ( m => m . MoviesComponent ) } ,
1918 { path : "actor/:id" , loadComponent : ( ) => import ( "./actors/actors.component" ) . then ( m => m . ActorsComponent ) } ,
2019 { path : "movie-import" , loadComponent : ( ) => import ( "./movie-import/movie-import.component" ) . then ( m => m . MovieImportComponent ) } ,
Original file line number Diff line number Diff line change 1313import { ApplicationConfig , importProvidersFrom } from '@angular/core' ;
1414import { provideRouter } from '@angular/router' ;
1515
16- import { routes } from './app-routing.module ' ;
16+ import { routes } from './app-routing' ;
1717import { provideAnimations } from '@angular/platform-browser/animations' ;
1818import { provideHttpClient , withInterceptorsFromDi } from '@angular/common/http' ;
1919import { NgxServiceModule } from 'ngx-simple-charts/base-service' ;
You can’t perform that action at this time.
0 commit comments