Skip to content

Commit c6f73f4

Browse files
SkyZeroZxpkozlowski-opensource
authored andcommitted
docs: update url from <base href>
1 parent 95fff0e commit c6f73f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

adev/src/content/tools/cli/build-system-migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The following list discusses all the `browser` builder options that will need to
130130
- `resourcesOutputPath` should be removed, this is now always `media`.
131131
- `vendorChunk` should be removed, as this was a performance optimization which is no longer needed.
132132
- `commonChunk` should be removed, as this was a performance optimization which is no longer needed.
133-
- `deployUrl` should be removed and is not supported. Prefer [`<base href>`](guide/routing/common-router-tasks) instead. See [deployment documentation](tools/cli/deployment#--deploy-url) for more information.
133+
- `deployUrl` should be removed and is not supported. Prefer [`<base href>`](guide/routing/router-reference#base-href) instead. See [deployment documentation](tools/cli/deployment#--deploy-url) for more information.
134134
- `ngswConfigPath` should be renamed to `serviceWorker`.
135135

136136
If the application is not using SSR currently, this should be the final step to allow `ng build` to function.

adev/src/content/tools/cli/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ ng build --deploy-url /my/assets
128128

129129
```
130130

131-
The effect and purpose of `--deploy-url` overlaps with [`<base href>`](guide/routing/common-router-tasks). Both can be used for initial scripts, stylesheets, lazy scripts, and css resources.
131+
The effect and purpose of `--deploy-url` overlaps with [`<base href>`](guide/routing/router-reference#base-href). Both can be used for initial scripts, stylesheets, lazy scripts, and css resources.
132132

133133
Unlike `<base href>` which can be defined in a single place at runtime, the `--deploy-url` needs to be hard-coded into an application at build time.
134134
Prefer `<base href>` where possible.

0 commit comments

Comments
 (0)