The manager module needs a landing page, as shown in this mock-up:
Manager's Dashboard
Let's start by creating the home screen for the ManagerModule:
- Create the ManagerHome component:
$ npx ng g c manager/managerHome -m manager -s -t
In order to create the new component under the manager folder, we must prefix manager/ in front of the component name. In addition, we specify that the component should be imported and declared with the ManagerModule. Since this is another landing page, it is unlikely to be complicated enough to require separate HTML and CSS files. You can use --inline-style ...