How to define "base href " dynamically in Angular 8 application from index.html?
Earlier I used --base-href
, but now it is not supported.
How to define "base href " dynamically in Angular 8 application from index.html?
Earlier I used --base-href
, but now it is not supported.
You can set base href dynamically by setting the property through script and getting it in NgModule.
And in your module you need to use