-
Notifications
You must be signed in to change notification settings - Fork 12k
--base-href
to be configurable in .angular-cli.json
#6477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You have my vote, looking for exactly the same feature. |
There's a pending PR: #6461 |
Thanks! I've just noticed, #3010 already considered this feature, but then got dismissed due to the last comment realizing that it is enough to change the base href in the |
Would love to see that feature ! |
just add "baseHref" : "YOUR_CUSTOM_HREF" to the "apps" in the angular-cli.json
|
How does this work in Angular 6 with the new |
It's more or less the same way. In your angular.json file: Build -> Configurations -> YOUR_CONFIG -> "baseHref" : "YOUR_CUSTOM_HREF" |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Desired functionality.
I need to configure multiple apps with different
--base-href
values. Right now the only place where I can set this setting is via command line, but that leads to too complex NPM scripts. A better solution would be a setting inside theapp
array of.angular-cli.json
. We already havedeployUrl
, so I don't understand why there is nobaseHref
yet.The text was updated successfully, but these errors were encountered: