From 94b1b530dcff33769a4f4e91c57242c7d225e080 Mon Sep 17 00:00:00 2001 From: SkyZeroZx <73321943+SkyZeroZx@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:40:39 -0500 Subject: [PATCH] docs: update url from `` (cherry picked from commit c6f73f412767241065af3b10fc285d78abbaba44) --- adev/src/content/tools/cli/build-system-migration.md | 2 +- adev/src/content/tools/cli/deployment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.