If deploying to the root, run the Angular CLI build command:
Use the Angular-CLI to create a production packageįirst decide whether the application will be located at the root in IIS (e.g. We’ll start here and discuss the necessary modifications to successfully run your application in IIS. This tool also includes a production build step that should allow you to xcopy your application to the web server of your choice. Using the Angular-CLI to generate an Angular SPA is an excellent way to scaffold out a well-organized application.
Here is a list of changes required to get everything running smoothly.
Laurie Atkinson, Premier Developer Senior Consultant, A few tweaks are necessary to take an Angular app and move it to IIS.