Angular Deployment with Material UI

Hello All,

Some one please suggest me the best practices to deploy Angular App in multiple environments?The challenges are now like

  1. When page refreshes getting 404 error - for that I installed URL rewrite tool and created a new web.config in the dist folder - problem solved…But I got few queries…Do I need to install URL rewrite in each environment? Do I need to create to create manually web.config file? Can I place my web.config file in any custom folder under dist (Assets\MycustomconfigforallURLS\web.config)?
  2. API URLs - This is the main challenge…people are saying to upload my api url in environment.ts file …also few suggesting to go ahead and create proxy.config.json file…my question is can I add the URLs in the above web.config file?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.