me-12 / single-spa-portal-example

Example project on how to combine multiple SPA's on a single Website
MIT License
407 stars 136 forks source link

Run application on Apache webserver #33

Closed rberkovi closed 6 years ago

rberkovi commented 6 years ago

All standalone builds tied to webpack. How to prepare builds for apache webserver. Their is no .angular-cli.json.

me-12 commented 6 years ago

Why would you need a .angular-cli.json. Just go into any app folder you want and buld the app. I.e. if you want to build the app "app2Angular" you do:

  1. cd app2Angular
  2. npm run build:portal

The output files are in the releasefolder. Now grab them and upload them to any webserver you want.

rberkovi commented 6 years ago

Thank you, Will this mode support globaleventdispatcher?

me-12 commented 6 years ago

Sure.