🧭
FrontendTypeScript

Vue Router Best Practices

by antfu

Vue Router Best Practices is a Frontend skill for Claude Code, published by antfu in skills.

5.8K stars317 forkson antfu/skillsAdded 2026/08/15Repository updated 2026/06/23
agent-skillsskills
Install in seconds
Install Vue Router Best Practices
Copy Vue Router Best Practices into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/antfu/skills/tree/main/skills/vue-router-best-practices ~/.claude/skills/vue-router-best-practices

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/antfu/skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/vue-router-best-practices/SKILL.md in antfu/skills
Installs to
~/.claude/skills/vue-router-best-practices
Collection
One of 19 skills cataloged from this repository
Category
Frontend567 skills

What Vue Router Best Practices does

Vue Router Best Practices covers Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions. Use it to avoid common navigation pitfalls in Vue applications.

Vue Router Best Practices is cataloged under Frontend on DirSkills. Vue Router Best Practices comes from a repository tagged agent-skills and skills.

Documentation

README

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

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Vue Router Best Practices

  • What else does antfu publish alongside Vue Router Best Practices?

    Vue Router Best Practices is one of 19 skills that DirSkills catalogs from antfu/skills, the repository it ships in. Its siblings there include Antfu Design, Anthony Fu Conventions and Nitro. Each one is a separate skill with its own page in this directory, installs the same way Vue Router Best Practices does, and is maintained by antfu in that same repository. The rest of the collection is listed on the antfu/skills page.

  • How does Vue Router Best Practices compare to other Frontend skills?

    Vue Router Best Practices ranks #142 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Vue Router Best Practices against them. Open each page to compare what they document and how they install.

More from antfu/skills

Vue Router Best Practices is one of 19 skills cataloged on DirSkills from antfu/skills.

See all 19 skills
🎨
2w ago

Antfu Design

Antfu Design provides antfu-style design conventions for building interfaces with UnoCSS, using semantic tokens, light/dark parity, and micro-interaction polish. Use it when building or refactoring any interface with UnoCSS.
Frontend
5.8K317
🛠️
2w ago

Anthony Fu Conventions

Anthony Fu Conventions encodes Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use it when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.
Frontend
5.8K317
🚀
2w ago

Nitro

Nitro is a framework-agnostic server toolkit for building and deploying web servers anywhere. Use it when working with nitro.config, server routes/event handlers, route rules, caching, storage, tasks, websockets, or deploying to Node, Bun, Deno, Cloudflare, or Vercel.
DevOps
5.8K317
🟩
2w ago

Nuxt

Nuxt provides server-side rendering, auto-imports, and file-based routing for Vue apps. Use when building Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.
Frontend
5.8K317
🍍
2w ago

Pinia

Pinia is the official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.
Frontend
5.8K317
📦
2w ago

Pnpm

Pnpm manages Node.js dependencies with strict resolution and a content-addressable store. Use it when running pnpm-specific commands, configuring workspaces via pnpm-workspace.yaml, or managing catalogs, patches, overrides, and config dependencies.
DevOps
5.8K317