Skip to main content

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.

소스 정보

저장소
full-stack-skills/vue-skills
최근 소스 활동
2026년 10월 3일 17:04
감지된 SKILL.md 언어
다국어 혼합
스타
3
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
vue-router
description
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.
license
Apache-2.0
## 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
GitHub에서 보기