vue-router-best-practices
CommunityVue Router best practices for reliable navigation.
Authorrunkids
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill consolidates Vue Router best practices, patterns, and guard usage for reliable navigation in Vue 3 SPAs.
Core Features & Use Cases
- Guard patterns: Per-route guards, beforeEach, and beforeRouteUpdate to manage access, caching, and param changes.
- Lifecycle awareness: Handling route param changes without re-creating components and using lifecycle hooks effectively.
- Production readiness: Patterns for global guards, meta fields, and lazy-loaded routes to improve security and performance.
Quick Start
- Create a routes file with guarded routes and lazy loading for components.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: vue-router-best-practices Download link: https://github.com/runkids/my-skills/archive/main.zip#vue-router-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.