I have a few components that are all under account.
- Username
- Password
- Profile
- ...
I want to have a parent component like how the app-component
works, with a <router-outlet></router-outlet>
, so that the main html of the parent component never changes but the contents of the <router-outlet></router-outlet>
.
How do I go about this?