vuejs-ai avatar

Vue Router Best Practices

Catalog skill for Vue Router 4 that indexes fixes for guards, params, and route lifecycle gotchas.

CCM score
40 of 100
skills.sh installs
2.5K
GitHub stars
3.4K
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Vue Router 4 patterns across navigation guards, route parameters, and route-component lifecycle interactions
  • Indexes reference notes for same-route param changes, beforeRouteEnter instance access, and unawaited guard API calls
  • Flags redirect loops and the deprecated next() guard signature, with a reference note for each
  • Designed for Vue single-page applications that need guidance on routing behavior and cleanup after unmount

Install

$ npx -y skills add vuejs-ai/skills --skill vue-router-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Navigation Guards

Route Lifecycle

Details

Repository
github.com/vuejs-ai/skills
Categories
Frontend & UI Code, Technical Documentation
First seen
May 16, 2026

More from vuejs-ai/skills

All 8

Similar to Vue Router Best Practices

More Frontend & UI Code