79403381

Date: 2025-01-31 16:34:50
Score: 2
Natty:
Report link

I need to check current route name:

<router-link
  :to="{ name: 'tab1' }"
  :aria-selected="$route.name === 'tab1'"
>
  Tab1
</router-link>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JohnSmith