SKILL18.8K installs6.0K

Vue Router Best Practices

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

Type
Skill
Author
antfu
Category
Frontend
GitHub stars
6.0K
Installs
18.8K
Last updated
October 30, 2026

Install

npx skills add https://github.com/antfu/skills --skill vue-router-best-practices

Use cases


Frequently Asked Questions

Which Vue Router version does this cover?

Vue Router 4 patterns, including navigation guards, route params, and route-component lifecycle interactions.

Is this a scaffolding tool?

No, it's a reference skill for routing patterns rather than a scaffolding tool.

When should I reach for it?

When setting up routing in a Vue app or untangling guard and param behavior.


About this skill

Covers Vue Router 4 patterns, navigation guards, route params, and the lifecycle interactions between routes and components. Use it when setting up routing in a Vue app or untangling guard and param behavior. It's a reference skill rather than a scaffolding tool.

Summary written with AI assistance from the project's public description.


Categories


More from antfu


Similar Skills