I would like to host various Angular2 apps that utilize the same framework packages and node_modules from a root and subdomain:
- domain.com
- subdomain.domain.com
- sub2.domain.com
Folder Structure
public_html 
├── SUBDOMAINS
│   ├── sub2
│   │   ├── assets
│   │   └── src
│   └── subdomain
│       ├── assets
│       └── src
├── assets
├── boot.ts
├── index.html
├── node_modules
├── package.json
├── src
└── tsconfig.json
I want to be able to utilize the resources of the root app and not need to duplicate code.
 
    