router-usage
CommunityGuides Vue Router setup and routing best practices.
Authorcctyl
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and standardizes Vue Router routing practices for Vue applications, reducing boilerplate and errors in route configuration, navigation, and guards.
Core Features & Use Cases
- Standardized route configuration: defines a consistent structure for routes, guards, and dynamic parameters.
- Navigation & parameter handling: demonstrates both programmatic navigation and param passing via $route/$router.
- Guard & meta usage: shows how to implement beforeEach, afterEach, and route meta to enforce permissions and titles.
- Quick-start examples: provides practical patterns to add new routes, guard access, and manage nested routes.
Quick Start
Add a new route with a guard following the pattern described in this skill and verify navigation works as expected.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: router-usage Download link: https://github.com/cctyl/bili-rec-web/archive/main.zip#router-usage 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 471,000+ vetted skills library on demand.