Variable Export
export APP_BASE_HREF
The APP_BASE_HREF
token represents the base href to be used with the
PathLocationStrategy
.
If you're using PathLocationStrategy
, you must provide a provider to a string
representing the URL prefix that should be preserved when generating and recognizing
URLs.
Example
exported from common/index defined in common/src/location/location_strategy.ts