vue-router-best-practices

Vue Router best practices, common gotchas, and navigation patterns.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vue-router-best-practices" with this command: npx skills add baotoq/agent-skills/baotoq-agent-skills-vue-router-best-practices

Vue Router best practices, common gotchas, and navigation patterns.

Navigation Guards

  • Navigating between same route with different params → See router-beforeenter-no-param-trigger

  • Accessing component instance in beforeRouteEnter guard → See router-beforerouteenter-no-this

  • Navigation guard making API calls without awaiting → See router-guard-async-await-pattern

  • Users trapped in infinite redirect loops → See router-navigation-guard-infinite-loop

  • Navigation guard using deprecated next() function → See router-navigation-guard-next-deprecated

Route Lifecycle

  • Stale data when navigating between same route → See router-param-change-no-lifecycle

  • Event listeners persisting after component unmounts → See router-simple-routing-cleanup

Setup

  • Building production single-page application → See router-use-vue-router-for-production

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

database-architect

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

design-ui-ux-pro-max

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

frontend-radix-ui-design-system

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

efcore-patterns

No summary provided by upstream source.

Repository SourceNeeds Review