title: Create multiple application from one Angular 9 project
body: <p>My goal is to have one Angular project with shared parts: functionality, classes, look, services and page components (header, footer, some directives). Then inside it has 2 (or more applications) that will use the shared parts and add on the top of it own components (pages) and routes. </p>
  
  <p>Then these 2 application should build to different dist folders, so the can be deployed to different places (URLs). And I want to be able to run (serve) them at the same time (maybe on different ports).</p>
  
  <p>I guess I should start with creating new applications inside project:</p>
  
  <pre><code>ng generate application app1 --routing
  ng generate application app1 --routing
  </code></pre>
  
  <p>and library? (for shared components). Is that right?</p>
  
  <p>How should I configure angular.json file for serve and build?
  And how should I configure app.module.ts files?</p>