When we use angular routing,can another component be loaded in the main HTML page instead of root-app component according to the given route?
add <router-outlet></router-outlet>
element on your root-app. i think it will works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With