mcpField
V
vue-router-best-practices

vue-router-best-practices

github.com/liangmiqwqDevelopment139 installsUpdated 2d ago
Repository

About vue-router-best-practices

A Vue Router skill covering recommended practices, navigation patterns, and common pitfalls. It helps Vue developers handle guards, route lifecycle behavior, and production setup.

Key features

  1. 01Navigation guard patterns
  2. 02Route parameter change handling
  3. 03Lifecycle and cleanup guidance
  4. 04Production SPA setup

Use cases

  1. 01Preventing navigation redirect loops
  2. 02Updating data when route parameters change
  3. 03Cleaning up listeners on unmount
  4. 04Setting up a production Vue SPA

Install

Copy the command and run it in a terminal.

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

After installing, type/vue-router-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

reference/
router-beforeenter-no-param-trigger.md
router-beforerouteenter-no-this.md
router-guard-async-await-pattern.md
router-navigation-guard-infinite-loop.md
router-navigation-guard-next-deprecated.md
router-param-change-no-lifecycle.md
router-simple-routing-cleanup.md
router-use-vue-router-for-production.md

Details

From the project README

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

Navigation Guards
Route Lifecycle
Setup

Comments

Markdown supported