MCPInstall

vue-router

Provides comprehensive guidance for Vue Router including route configuration, navigation, dynamic routes, nested routes, route guards, programmatic navigation, and route meta. Use when the user asks about Vue Router, needs to set up routing, implement navigation guards, handle route parameters, or manage route transitions.

Installs
216
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/full-stack-skills/vue-skills --skill vue-router
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads vue-router automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

When to use this skill

Use this skill whenever the user wants to:

  • 在 Vue 项目中配置路由、动态路由、守卫与懒加载
  • 使用 Vue Router 4(Vue 3)或 3.x(Vue 2)API

How to use this skill

  1. 配置:createRouter、routes、history 模式;router-link、router-view、useRouter。
  2. 进阶:动态路由、嵌套路由、beforeEach 守卫、meta;懒加载 component: () => import()。
  3. 参考:https://router.vuejs.org/

Best Practices

  • 路由与权限在守卫中集中处理;大页面懒加载。
  • 命名路由与 params/query 规范;避免在路由中存敏感数据。

Keywords

vue router, 路由, 守卫, Vue 3, Vue 2

FAQ

What does the vue-router skill do?

Provides comprehensive guidance for Vue Router including route configuration, navigation, dynamic routes, nested routes, route guards, programmatic navigation, and route meta. Use when the user asks about Vue Router, needs to set up routing, implement navigation guards, handle route parameters, or manage route transitions.

How do I install vue-router?

Run npx skills add https://github.com/full-stack-skills/vue-skills --skill vue-router in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/vue-router/ (personal) or .claude/skills/vue-router/ (project).

Which AI agents can use vue-router?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is vue-router safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains vue-router?

It is published by full-stack-skills in full-stack-skills/vue-skills. It has 216 recorded installs.

More from full-stack-skills/vue-skills

View all →

vue3

full-stack-skills/vue-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design328 installs

pinia

full-stack-skills/vue-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design264 installs

vue-router-v4

full-stack-skills/vue-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design238 installs

vue2

full-stack-skills/vue-skills

Provides comprehensive guidance for Vue 2.x development including Options API, components, directives, lifecycle hooks, computed properties, watchers, Vuex state management, and Vue Router. Use when the user asks about Vue 2, needs to create Vue 2 components, implement reactive data binding, handle component communication, or work with Vue 2 ecosystem tools.

Frontend & Design223 installs

vuex-vue2

full-stack-skills/vue-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design206 installs

vue-router-v3

full-stack-skills/vue-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design204 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs