Scripts2026年7月4日·1 分钟阅读

vue-pure-admin — Lightweight Vue 3 Admin with Element Plus and Zero Bloat

A clean, performant Vue 3 admin template using Element Plus, Vite, and TypeScript with minimal dependencies and maximum extensibility.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
vue-pure-admin Overview
直接安装命令
npx -y tokrepo@latest install 2431d48a-7785-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

vue-pure-admin is a lightweight yet fully functional Vue 3 admin template that prioritizes simplicity and performance. Built with Element Plus, Vite, and TypeScript, it strips away unnecessary abstractions while retaining enterprise essentials like permissions, theming, and responsive layouts.

What vue-pure-admin Does

  • Delivers a complete admin shell with sidebar, tabs, and header navigation
  • Supports both front-end and back-end permission control modes
  • Provides 40+ demo pages covering common admin scenarios
  • Offers a thin version (pure-admin-thin) for teams wanting minimal scaffolding
  • Includes dark mode, layout switching, and watermark features

Architecture Overview

The project uses Vue 3 Composition API throughout with Pinia for state management. Routing leverages Vue Router 4 with dynamic route injection based on roles. The build system is Vite with automatic component and API imports via unplugin. CSS is handled by Tailwind CSS utility classes combined with Element Plus theming.

Self-Hosting & Configuration

  • Requires Node.js 18+ and pnpm for dependency management
  • Platform settings are centralized in src/config for easy overrides
  • Environment variables in .env.* control API endpoints and feature toggles
  • Deploy the dist folder to any static hosting after pnpm build
  • Optional Docker deployment with the included Dockerfile and Nginx config

Key Features

  • Sub-second cold start with Vite and on-demand component loading
  • Internationalization with auto-detected and switchable locales
  • Seamless dark/light mode transitions via CSS variables
  • Persistent multi-tab navigation with right-click context menus
  • Responsive layout that adapts to mobile screen sizes

Comparison with Similar Tools

  • vue-vben-admin — More features and UI libraries but heavier bundle
  • vue-element-admin — Vue 2 classic, larger community but legacy stack
  • Ant Design Pro Vue — Ant ecosystem, different component library
  • Soybean Admin — Similar lightweight philosophy, uses Naive UI instead
  • Arco Design Pro — ByteDance components, more opinionated conventions

FAQ

Q: What is the difference between full and thin versions? A: The full version includes all demo pages and features. The thin version provides only the core framework (layout, auth, routing) as a clean starting point.

Q: Can I swap Element Plus for another UI library? A: The architecture allows it, but Element Plus is deeply integrated into the demo pages. Soybean Admin or Vben Admin offer multi-library variants.

Q: Does it support micro-frontend architecture? A: Yes, there are community examples integrating with qiankun and wujie for micro-frontend scenarios.

Q: How large is the production bundle? A: The thin version produces a gzipped bundle under 300KB, with route-level code splitting keeping initial loads fast.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产