How do I get to use multiple HTML pages inside one angular component. I have 3 types of users. Admin, Doctor and User. Each one have their unique dashboard, settings and other pages. Can I have 3 components called admin, doctor and user and makes dashboard.html, settings.html etc. for each component.
Example:
For user:
website/user/login
website/user/dashboard
website/user/settings
For doctor:
website/doctor/login
website/doctor/dashboard
website/doctor/settings
Do I have to create component for each and every single page? Or is there another way?
I'm using Angular CLI: 11.0.2
and Node:15.1.0