Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsJul 4, 2026·3 min de lecture

Vue Vben Admin — Modern Vue 3 Admin Framework with Vite and TypeScript

A feature-rich Vue 3 admin template powered by Vite, TypeScript, and Ant Design Vue with enterprise-grade permissions and theming.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
Vue Vben Admin Overview
Commande d'installation directe
npx -y tokrepo@latest install f78b3d2f-7784-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

Vue Vben Admin is a next-generation admin framework for Vue 3, built from the ground up with Vite, TypeScript, and the Composition API. It delivers the developer experience of modern tooling while maintaining the enterprise capabilities needed for complex management systems.

What Vue Vben Admin Does

  • Provides a complete admin shell with dynamic menus, tabs, and breadcrumbs
  • Implements fine-grained permission control at route, menu, and button levels
  • Ships with dozens of pre-built pages (dashboards, forms, tables, charts)
  • Supports multiple UI library integrations (Ant Design Vue, Element Plus, Naive UI)
  • Includes a mock server and API generation toolchain

Architecture Overview

The project uses a monorepo structure managed by pnpm workspaces. Core packages handle layout, state (Pinia), request (Axios), and utilities separately. Vite provides instant HMR, while TypeScript ensures type safety across the entire stack. Route-based code splitting keeps initial bundle sizes small.

Self-Hosting & Configuration

  • Requires Node.js 18+ and pnpm as the package manager
  • Environment files (.env.*) configure API base URLs and feature flags
  • Permission mode is configurable: front-end route filtering or backend-driven menus
  • Theme tokens (colors, border radius, spacing) can be overridden via CSS variables
  • Production builds output static files deployable to any web server or CDN

Key Features

  • Vite-powered builds with sub-second hot module replacement
  • Full TypeScript coverage with strict mode enabled
  • Dark mode with smooth transition and persistent preference
  • Configurable multi-tab navigation with context menus
  • Built-in watermark, lock screen, and session timeout handling

Comparison with Similar Tools

  • vue-element-admin — Vue 2 predecessor, larger community but older stack
  • Ant Design Pro — React-based, tighter UmiJS coupling
  • vue-pure-admin — Lighter alternative, fewer built-in features
  • Naive UI Admin — Simpler, uses Naive UI components exclusively
  • Arco Design Pro Vue — ByteDance ecosystem, Arco Design components

FAQ

Q: Which UI library does it use by default? A: The main branch uses Ant Design Vue, but official variants exist for Element Plus and Naive UI.

Q: Is it suitable for small projects? A: The full version is feature-heavy. A slim template is available for projects that need less out of the box.

Q: How do I add new pages? A: Add a route entry in the router config and create the corresponding Vue component. The menu updates automatically.

Q: Does it support SSR? A: No, it is designed as a client-side SPA. For SSR admin panels, consider Nuxt-based solutions.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires