AGENT SKILL

vue-router-best-practices

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

使用场景前端开发
License 许可
MIT
最近更新
2026-04-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
vue-router-best-practices
author
github.com/vuejs-ai
license
MIT
version
1.0.0
description
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

02 资源文件 9

03 SKILL.md 正文

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

Navigation Guards

Route Lifecycle

Setup

04 同仓库更多 Skills

superhealth
superhealth/skills-hub

vercel-react-best-practices

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.

前端开发
★ 0
superhealth
superhealth/skills-hub

vue-testing-best-practices

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

测试与质量前端开发
★ 0
superhealth
superhealth/skills-hub

vue-pinia-best-practices

Pinia stores, state management patterns, store setup, and reactivity with stores.

前端开发
★ 0
superhealth
superhealth/skills-hub

vue-options-api-best-practices

Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.

开发工程师前端开发后端与接口
★ 0
superhealth
superhealth/skills-hub

vue-development-guides

A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.

前端开发
★ 0
superhealth
superhealth/skills-hub

vue-best-practices

MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.

开发工程师前端开发后端与接口
★ 0