Skip to content

Update navigate-to-routes.md to include RouterLink in imports. #61965

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

Closed
wants to merge 1 commit into from

Conversation

btelles
Copy link
Contributor

@btelles btelles commented Jun 9, 2025

Without adding the RouterLink import to the component, users won't be able to use the routerLink directive.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Documentation neglects to mention the required import to use routerLink.

Issue Number: N/A

What is the new behavior?

Documentation now mentions the required import to use routerLink.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@angular-robot angular-robot bot added the area: docs Related to the documentation label Jun 10, 2025
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed area: docs Related to the documentation labels Jun 10, 2025
@ngbot ngbot bot modified the milestone: Backlog Jun 10, 2025
@JeanMeche JeanMeche removed the request for review from kirjs June 10, 2025 23:18
Copy link

github-actions bot commented Jun 11, 2025

Deployed adev-preview for 07fa857 to: https://ng-dev-previews-fw--pr-angular-angular-61965-adev-prev-raw4jy85.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Without adding the RouterLink import to the component, users won't be able to use the routerLink directive.
@angular-robot angular-robot bot added the area: docs Related to the documentation label Jun 11, 2025
@ngbot ngbot bot added this to the Backlog milestone Jun 11, 2025
@pkozlowski-opensource
Copy link
Member

This PR was merged into the repository by commit 9a81a0f.

The changes were merged into the following branches: main, 20.0.x

pkozlowski-opensource pushed a commit that referenced this pull request Jun 11, 2025
Without adding the RouterLink import to the component, users won't be able to use the routerLink directive.

PR Close #61965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker adev: preview area: docs Related to the documentation target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants