vue-router
Vue Router - official router for Vue.js. Use when building single-page applications with routing, navigation guards, nested routes, or programmatic navigation.
What this skill does
# Vue Router > The skill is based on Vue Router v5.0.1, generated at 2026-01-31. Vue Router is the official router for Vue.js. It deeply integrates with Vue.js core to make building Single Page Applications with Vue.js a breeze. Features include nested routes mapping, dynamic routing, modular component-based router configuration, route params, query, wildcards, view transition effects, fine-grained navigation control, links with automatic active CSS classes, HTML5 history mode or hash mode, customizable scroll behavior, and proper encoding for URLs. ## Core References | Topic | Description | Reference | |-------|-------------|-----------| | Router Setup | Create router instance, register plugin, access router/route | [core-router-setup](references/core-router-setup.md) | | Navigation | Programmatic navigation with push, replace, go methods | [core-navigation](references/core-navigation.md) | | RouterView & RouterLink | Components for rendering routes and creating navigation links | [core-router-view-link](references/core-router-view-link.md) | ## Essentials ### Route Configuration | Topic | Description | Reference | |-------|-------------|-----------| | Dynamic Matching | Dynamic route segments with params, accessing route.params | [essentials-dynamic-matching](references/essentials-dynamic-matching.md) | | Nested Routes | Nested route configuration with children option | [essentials-nested-routes](references/essentials-nested-routes.md) | | Named Routes | Named routes for navigation without hardcoded URLs | [essentials-named-routes](references/essentials-named-routes.md) | | Named Views | Multiple RouterView components for complex layouts | [essentials-named-views](references/essentials-named-views.md) | | History Mode | HTML5 history, hash mode, memory mode, server configuration | [essentials-history-mode](references/essentials-history-mode.md) | | Route Matching Syntax | Custom regex, repeatable params, optional params | [essentials-route-matching-syntax](references/essentials-route-matching-syntax.md) | | Active Links | Active link CSS classes, router-link-active vs exact-active | [essentials-active-links](references/essentials-active-links.md) | | Passing Props | Pass route params as component props | [essentials-passing-props](references/essentials-passing-props.md) | | Redirect & Alias | Route redirects and aliases for URL mapping | [essentials-redirect-alias](references/essentials-redirect-alias.md) | ## Advanced ### Navigation & Guards | Topic | Description | Reference | |-------|-------------|-----------| | Navigation Guards | Global guards, per-route guards, in-component guards | [advanced-navigation-guards](references/advanced-navigation-guards.md) | | Navigation Failures | Detecting aborted/cancelled/duplicated navigations | [advanced-navigation-failures](references/advanced-navigation-failures.md) | ### Composition & TypeScript | Topic | Description | Reference | |-------|-------------|-----------| | Composition API | useRouter, useRoute, navigation guards, useLink | [advanced-composition-api](references/advanced-composition-api.md) | | Typed Routes | TypeScript typed routes for autocomplete and type safety | [advanced-typed-routes](references/advanced-typed-routes.md) | ### Advanced Features | Topic | Description | Reference | |-------|-------------|-----------| | Transitions | Route transitions using RouterView slot | [advanced-transitions](references/advanced-transitions.md) | | Scroll Behavior | Custom scroll behavior on navigation | [advanced-scroll-behavior](references/advanced-scroll-behavior.md) | | Meta Fields | Route meta fields for custom data | [advanced-meta](references/advanced-meta.md) | | Lazy Loading | Lazy loading route components with dynamic imports | [advanced-lazy-loading](references/advanced-lazy-loading.md) | | Dynamic Routing | Adding and removing routes at runtime | [advanced-dynamic-routing](references/advanced-dynamic-routing.md) | | RouterView Slot | Advanced RouterView slot API for custom rendering | [advanced-router-view-slot](references/advanced-router-view-slot.md) |
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.