diff --git a/adev/src/content/tools/cli/build-system-migration.md b/adev/src/content/tools/cli/build-system-migration.md index fcd33b7ab07..a4cb268faba 100644 --- a/adev/src/content/tools/cli/build-system-migration.md +++ b/adev/src/content/tools/cli/build-system-migration.md @@ -130,7 +130,7 @@ The following list discusses all the `browser` builder options that will need to - `resourcesOutputPath` should be removed, this is now always `media`. - `vendorChunk` should be removed, as this was a performance optimization which is no longer needed. - `commonChunk` should be removed, as this was a performance optimization which is no longer needed. -- `deployUrl` should be removed and is not supported. Prefer [``](guide/routing/common-router-tasks) instead. See [deployment documentation](tools/cli/deployment#--deploy-url) for more information. +- `deployUrl` should be removed and is not supported. Prefer [``](guide/routing/router-reference#base-href) instead. See [deployment documentation](tools/cli/deployment#--deploy-url) for more information. - `ngswConfigPath` should be renamed to `serviceWorker`. If the application is not using SSR currently, this should be the final step to allow `ng build` to function. diff --git a/adev/src/content/tools/cli/deployment.md b/adev/src/content/tools/cli/deployment.md index bed7aceb79a..d882922afd6 100644 --- a/adev/src/content/tools/cli/deployment.md +++ b/adev/src/content/tools/cli/deployment.md @@ -128,7 +128,7 @@ ng build --deploy-url /my/assets ``` -The effect and purpose of `--deploy-url` overlaps with [``](guide/routing/common-router-tasks). Both can be used for initial scripts, stylesheets, lazy scripts, and css resources. +The effect and purpose of `--deploy-url` overlaps with [``](guide/routing/router-reference#base-href). Both can be used for initial scripts, stylesheets, lazy scripts, and css resources. Unlike `` which can be defined in a single place at runtime, the `--deploy-url` needs to be hard-coded into an application at build time. Prefer `` where possible.