What’s the difference between –base-href and –deploy-url parameters of angular-cli tool August 30, 2022 by Tarik Billa Base-href is being used by routing deploy-url is for assets. In most cases base-href is enough. Please see these posts: https://github.com/angular/angular-cli/issues/9835 https://shekhargulati.com/2017/07/06/angular-4-use-of-base-href-and-deploy-url-build-options/ More Related Contents: angular-cli server – how to proxy API requests to another server? How to bundle an Angular app for production Could not find module “@angular-devkit/build-angular” How to add bootstrap to an angular-cli project How do I support Internet Explorer in an Angular 8 application? How to add font-awesome to Angular 2 + CLI project how to format date in Component of angular 5 Angular-CLI proxy to backend doesn’t work How to decrease prod bundle size? angular-cli where is webpack.config.js file – new angular6 does not support ng eject ng: command not found while creating new project using angular-cli Get angular-cli to ng serve over HTTPS How to undo Angular 2 Cli ng-eject? How to install a specific version of Angular with Angular CLI? Angular 6 – Could not find module “@angular-devkit/build-angular” @types/googlemaps/index.d.ts’ is not a module Include assets when building angular library When to use ‘npm start’ and when to use ‘ng serve’? How to uninstall/upgrade Angular CLI? Implementing a plugin architecture / plugin system / pluggable framework in Angular 2, 4, 5, 6 Avoiding relative paths in Angular CLI How to add Web Animations API polyfill to an Angular 2 project created with Angular CLI How to rename a component in Angular CLI? How to execute only one test spec with angular-cli Syntax Error in Angular App: Unexpected token Angular 8 ng-build throwing MIME error with cordova Angular4 APP_INITIALIZER won’t delay initialization Using Angular CLI and unable to use relative image paths in CSS files Angular5: Deploying Angular application to multiple clients angular cli exclude files/directory for `ng test –code-coverage`