vue-router3-to-router4
CommunityUpgrade Vue Router from v3 to v4
AuthorJuanJoseGonGi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the complexities and breaking changes involved in migrating a Vue.js application's routing from Vue Router version 3 to version 4, ensuring a smooth transition of navigation logic and configurations.
Core Features & Use Cases
- Router Construction Migration: Guides the switch from
new VueRouter(...)tocreateRouter(...)and updates history modes. - Route Record and Guard Updates: Facilitates changes in route record types (
RouteConfigtoRouteRecordRaw) and navigation guard patterns (preferring return-based guards overnextcallbacks). - API Compatibility: Helps adapt to changes in router view transitions and keep-alive mechanisms.
- Use Case: A development team is undertaking a major version upgrade of their Vue.js application and needs to migrate their existing Vue Router 3 setup to Vue Router 4, including all navigation guards and route definitions.
Quick Start
Use the vue-router3-to-router4 skill to migrate the router construction and update route records.
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-router3-to-router4 Download link: https://github.com/JuanJoseGonGi/skills/archive/main.zip#vue-router3-to-router4 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.