vue-router-v3

$npx mdskill add partme-ai/full-stack-skills/vue-router-v3

Provides Vue Router v3 guidance for Vue 2 projects using official docs on installation, routing patterns, and API details.

  • Helps with installing, configuring, and implementing routing in Vue 2 applications.
  • Integrates with Vue Router v3 official documentation and example files.
  • Decides recommendations by matching user topics to guide examples or API files.
  • Presents results by following official guidance and keeping outputs consistent with v3 docs.
SKILL.md
.github/skills/vue-router-v3View on GitHub ↗
---
name: vue-router-v3
description: "Guidance for Vue Router v3 using the official Installation, Guide, and API docs. Use when users need routing setup, navigation patterns, or API details for Vue 2 projects."
license: Complete terms in LICENSE.txt
---

## When to use this skill

Use this skill whenever the user wants to:
- Install and configure Vue Router v3
- Implement routing patterns for Vue 2 applications
- Use navigation guards, history mode, or lazy-loading routes
- Reference Vue Router v3 API details

## How to use this skill

1. **Identify the topic** from the user request.
2. **Open the matching guide example** file in `examples/`.
3. **For API details**, open the matching file in `api/`.
4. **Follow official guidance** and keep outputs consistent with v3 docs.

### Installation mapping
- `examples/installation.md` → https://v3.router.vuejs.org/installation.html

### Guide mapping (one-to-one with https://v3.router.vuejs.org/guide/)

**Essentials**
- `examples/guide/index.md` → https://v3.router.vuejs.org/guide/
- `examples/guide/essentials/dynamic-matching.md` → https://v3.router.vuejs.org/guide/essentials/dynamic-matching.html
- `examples/guide/essentials/nested-routes.md` → https://v3.router.vuejs.org/guide/essentials/nested-routes.html
- `examples/guide/essentials/navigation.md` → https://v3.router.vuejs.org/guide/essentials/navigation.html
- `examples/guide/essentials/named-routes.md` → https://v3.router.vuejs.org/guide/essentials/named-routes.html
- `examples/guide/essentials/named-views.md` → https://v3.router.vuejs.org/guide/essentials/named-views.html
- `examples/guide/essentials/redirect-and-alias.md` → https://v3.router.vuejs.org/guide/essentials/redirect-and-alias.html
- `examples/guide/essentials/passing-props.md` → https://v3.router.vuejs.org/guide/essentials/passing-props.html
- `examples/guide/essentials/history-mode.md` → https://v3.router.vuejs.org/guide/essentials/history-mode.html

**Advanced**
- `examples/guide/advanced/navigation-guards.md` → https://v3.router.vuejs.org/guide/advanced/navigation-guards.html
- `examples/guide/advanced/meta.md` → https://v3.router.vuejs.org/guide/advanced/meta.html
- `examples/guide/advanced/transitions.md` → https://v3.router.vuejs.org/guide/advanced/transitions.html
- `examples/guide/advanced/data-fetching.md` → https://v3.router.vuejs.org/guide/advanced/data-fetching.html
- `examples/guide/advanced/scroll-behavior.md` → https://v3.router.vuejs.org/guide/advanced/scroll-behavior.html
- `examples/guide/advanced/lazy-loading.md` → https://v3.router.vuejs.org/guide/advanced/lazy-loading.html
- `examples/guide/advanced/navigation-failures.md` → https://v3.router.vuejs.org/guide/advanced/navigation-failures.html

### API mapping (one-to-one with https://v3.router.vuejs.org/api/)
- `api/router-link.md` → https://v3.router.vuejs.org/api/#router-link
- `api/router-view.md` → https://v3.router.vuejs.org/api/#router-view
- `api/router-instance.md` → https://v3.router.vuejs.org/api/#router-instance
- `api/router-options.md` → https://v3.router.vuejs.org/api/#router-options
- `api/route-object.md` → https://v3.router.vuejs.org/api/#the-route-object
- `api/route-config.md` → https://v3.router.vuejs.org/api/#routes
- `api/navigation-guards.md` → https://v3.router.vuejs.org/api/#navigation-guards

## Resources
- Installation: https://v3.router.vuejs.org/installation.html
- Guide: https://v3.router.vuejs.org/guide/
- API: https://v3.router.vuejs.org/api/

## Keywords
vue-router v3, vue 2 router, routing, navigation guards, history mode, router-link, router-view, route config, route object
More from partme-ai/full-stack-skills