SKILL15.1K installs3.2K

Vue Router Best Practices

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

Type
Skill
Author
vuejs-ai
Category
Frontend
GitHub stars
3.2K
Installs
15.1K
Last updated
October 23, 2026

Install

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

Use cases


Frequently Asked Questions

Which Vue Router version does this skill cover?

It documents Vue Router 4 patterns, so it targets Vue 3 projects rather than Vue 2 routing setups.

Does it cover navigation guards?

Yes, navigation guards are one of the main topics, alongside route params and route-component lifecycle interactions.

Will it scaffold a router for me?

No, the skill focuses on conventions and patterns rather than setup scaffolding.


About this skill

Documents Vue Router 4 patterns covering navigation guards, route params, and how route components interact with the component lifecycle. Useful when structuring routing in a Vue 3 app or debugging guard behavior. Focused on conventions rather than setup scaffolding.

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


Categories


More from vuejs-ai


Similar Skills