Esta página se muestra en inglés. Una traducción al español está en curso.
ScriptsJul 4, 2026·3 min de lectura

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.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
Vue Vben Admin Overview
Comando de instalación directa
npx -y tokrepo@latest install f78b3d2f-7784-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con 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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados