Angular default route always preloaded

I have two routes : home [ ” ] about [ ‘about’ ] When I go to /about directly with my browser, I’ve notice 2 things : my home module is preloaded (whereas I’ve requested /about) the URL is rewritted like this : /about -> / -> /about app-routing.module.t import { NgModule } from ‘@angular/core’; […]

By Ziad
Published
Categorized as angular, lazy-loading Tagged ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq