filmov
tv
How to create multiple apps in one project with angular
Показать описание
In this angular tutorial, we are going to show how to organize multiple apps in one workspace.
Advantages of multiple apps in one projects:-
1. The time consuming "npm install" for every app will reduce,
2. The "node_modules" which takes a huge amount of space for an app, will be shared with all other apps and saved disk space,
3. All the apps can be updated to the next version easily,
4. A single version control repository
In order to do that, first, we will create an empty workspace by using angular CLI and the command is ng new multipleApps --createApplication="false". This command creates a folder with the name multipleApps and configures the workspace without creating any apps.
We are creating 3 apps as per our requirement, using the below commands:-
1. ng generate application authentication,
2. ng generate application admin,
3. ng generate application customer
The external two libraries have been used in this tutorial and below are the details for those libraries:-
Below is the source code repository link
If you like this video please hit the like 👍 button and do subscribe 💙😊 to this channel for more videos.
DISCLAIMER: Copyright Disclaimer under section 107 of the Copyright Act 1976. Any reproduction or illegal distribution of the content in any form will result in immediate action against the person concerned.
Advantages of multiple apps in one projects:-
1. The time consuming "npm install" for every app will reduce,
2. The "node_modules" which takes a huge amount of space for an app, will be shared with all other apps and saved disk space,
3. All the apps can be updated to the next version easily,
4. A single version control repository
In order to do that, first, we will create an empty workspace by using angular CLI and the command is ng new multipleApps --createApplication="false". This command creates a folder with the name multipleApps and configures the workspace without creating any apps.
We are creating 3 apps as per our requirement, using the below commands:-
1. ng generate application authentication,
2. ng generate application admin,
3. ng generate application customer
The external two libraries have been used in this tutorial and below are the details for those libraries:-
Below is the source code repository link
If you like this video please hit the like 👍 button and do subscribe 💙😊 to this channel for more videos.
DISCLAIMER: Copyright Disclaimer under section 107 of the Copyright Act 1976. Any reproduction or illegal distribution of the content in any form will result in immediate action against the person concerned.
Комментарии