I am using Angular 5.2 version for my new project. I have deployed it over to the DEV location with the URL
http://XX.XX.XX.XX/myDev/app/login
when I run the ng build command
ng build -aot -ec --prod --base-href=/myDev/
Now I want to run the application for multiple clients and the URL will change to something like this
http://XX.XX.XX.XX/myDev/**Client-X**/app/login
http://XX.XX.XX.XX/myDev/**Client-Y**/app/login
Client-X & Client-Y are virtual directories in IIS.
Please suggest, how do I run this application and make the changes to the base-href while performing the ng build
In my case, i would have one deployment but different URL's pointing to the same package.
base-hrefchange is very conditional, what you're asking is more of a server issue than an Angular issue.