-
Book Overview & Buying
-
Table Of Contents
Developing Multi-Platform Apps with Visual Studio Code
By :
As we discussed earlier, to separate concerns and organize our app into manageable blocks, Angular provides an option to break your application into modules. These modules also serve the purpose of loading the application more efficiently.
As explained in the application design, we will be dividing our app into three feature modules, as follows:
LoginModuleJobrequestModuleAgentModuleEach of these modules will contain the routing paths specific to the functionality they encapsulate.
To create the module, we use ng generate module <module_name>, and also enable routing by adding the --routing option to the command line.
The login feature will provide the login page for the application. Our focus currently will only be on developing the login page. In a real-life scenario, you could have additional functionality such as signing up, or resetting a password/requesting help with a forgotten...