vue-router-best-practices

hyf0/vue-skills · updated Apr 8, 2026

$npx skills add https://github.com/hyf0/vue-skills --skill vue-router-best-practices
0 commentsdiscussion
summary

Vue Router 4 patterns, navigation guards, and route-lifecycle best practices.

  • Covers five navigation guard patterns including async/await handling, deprecated next() function migration, infinite redirect loops, and param-change detection
  • Addresses route-lifecycle gotchas like stale data when navigating between same routes and event listener cleanup on component unmount
  • Includes guidance on beforeRouteEnter guard limitations, component instance access, and param-triggered navigation b
skill.md

Vue Router best practices, common gotchas, and navigation patterns.

Navigation Guards

Route Lifecycle

Setup

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.667 reviews
  • Ren Jain· Dec 28, 2024

    Keeps context tight: vue-router-best-practices is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Anika Johnson· Dec 20, 2024

    Solid pick for teams standardizing on skills: vue-router-best-practices is focused, and the summary matches what you get after install.

  • Ren Iyer· Dec 16, 2024

    vue-router-best-practices is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Noor Jain· Dec 16, 2024

    Solid pick for teams standardizing on skills: vue-router-best-practices is focused, and the summary matches what you get after install.

  • Aarav Malhotra· Dec 8, 2024

    vue-router-best-practices has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Emma Dixit· Dec 8, 2024

    We added vue-router-best-practices from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Sophia Martinez· Dec 4, 2024

    vue-router-best-practices fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Sophia Garcia· Nov 27, 2024

    vue-router-best-practices fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Noor Kapoor· Nov 27, 2024

    Solid pick for teams standardizing on skills: vue-router-best-practices is focused, and the summary matches what you get after install.

  • Aarav Jain· Nov 23, 2024

    vue-router-best-practices has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 67

1 / 7