V3 Admin Vite: a Vue 3 admin template built for AI coding tools
☀️ AI-friendly Vue3 admin template | Vue Admin | Vue Template | Vue3 Admin | Vue3 Template | Vue 后台 | Vue 模板 | Vue3 后台 | Vue3 模板
At a glance
- What is it?
- V3 Admin Vite is an MIT-licensed Vue 3, Vite and TypeScript admin template whose 5.2 release adds backend-driven dynamic routing. It suits teams that want a readable starting point rather than a heavily abstracted framework.
- Who is it for?
- Adopt V3 Admin Vite if you are starting a new Vue 3 dashboard and want a small, commented codebase with page-level and button-level permissions already wired up, and if your team already runs Node 20.19+ and pnpm 10+. Do not adopt it if you are maintaining a 4.x fork: the README states that branch no longer receives fixes except for critical bugs, so migrating to 5.2 is the only path to the new dynamic routing system.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 81 days ago.
- What is it written in?
- Mainly Vue, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on September 28, 2026, and from our analysis. They are not legal advice.
Editorial analysis
What V3 Admin Vite solves, and for whom
Every admin dashboard needs the same scaffolding: a login flow, a layout with sidebar and breadcrumbs, route guards, an HTTP client with interceptors, theme switching, and permission checks that hide menu items a user cannot reach. V3 Admin Vite packages that scaffolding as a template rather than a library. You clone it, delete what you do not need, and keep the parts that match your product.
The README frames the target audience explicitly: teams that want a simplified structure with no complex encapsulation and no complicated type gymnastics. That is a deliberate position against templates that wrap Element Plus components in three layers of local abstractions. The built-in feature list covers user management as a login and logout demonstration, page-level permissions driven by dynamic routes from a backend API, button-level permissions through directives and functions, route guards, three environments, three themes, three layout modes, 403 and 404 pages, and mobile-compatible layouts.
The secondary audience is AI coding tools. The repository ships .agents/, .claude/, .cursor/ and .trae/ directories plus AGENTS.md and CLAUDE.md at the top level, and the README names Claude Code, CodeX, Cursor, Trae and Antigravity as supported. The claim is that the template offers a good experience for AI-assisted editing, which in practice means the agent files give a coding assistant project context without you pasting it in.
How the routing, permissions and data flow fit together
The architecture is a standard Vue 3 single-page application with one distinctive piece: backend-controlled dynamic routing. On login, the frontend calls the API and receives the user's route table. Those routes are registered with Vue Router at runtime, which means the sidebar, breadcrumbs and tab navigation are all derived from server data rather than from a static route file. Page-level permission and menu structure therefore come from the same source, and a user never sees a menu entry for a page the backend did not grant.
Button-level permission is separate and finer grained. The README describes permission directives and functions, so a component can conditionally render a button based on a permission code the user holds. Route guards sit between navigation and rendering, handling the redirect to login and the loading of user state.
State lives in Pinia, described in the README as the Vuex successor. HTTP requests go through Axios. The UI layer is Element Plus, with SCSS and CSS variables controlling layout and color, so theme switching works by changing variable values rather than swapping stylesheets. UnoCSS handles atomic utility classes. The build is Vite 7, and vue-tsc runs as part of both build scripts, so a type error fails the build rather than surfacing at runtime.
One detail worth noting from package.json: vxe-table 4.6.25 is a dependency. That is a full data-grid library, considerably heavier than the tables Element Plus provides. If your dashboard has no complex tabular requirements, it is dead weight you will want to remove, and removing it is a manual step the README does not walk through.
Installing V3 Admin Vite and running a first build
The README lists the recommended environment as Node 20.19+ or 22.12+, pnpm 10+, and either VS Code or an AI IDE such as Cursor or Trae. It also points at .vscode/extensions.json for recommended editor plugins. The install sequence is four commands, run from a shell:
# Clone the project
git clone https://github.com/un-pany/v3-admin-vite.git
# Enter the project directory
cd v3-admin-vite
# Install dependencies
pnpm i
# Start the development server
pnpm devAfter pnpm dev, Vite prints the local URL in the terminal; opening it shows the login page from the online preview. The repository also carries .env, .env.development, .env.staging and .env.production at the top level, so API base URLs and environment-specific values are configured there rather than in source files.
Production and staging builds go through vue-tsc first, which means TypeScript errors stop the build:
# Build for the staging environment
pnpm build:staging
# Build for the production environment
pnpm buildThe README notes that preview requires the build to have run first, because it serves the generated dist directory:
# Execute the build command first to generate the dist directory, then run the preview command
pnpm previewLinting and tests are separate scripts. pnpm lint runs eslint with the --fix flag, and the repository uses @antfu/eslint-config 9.1.0, so formatting and lint rules come as one preset. pnpm test runs Vitest. For AI-assisted work, the README also documents a skills install command:
npx skills experimental_installThat command is labeled experimental in the README, so treat it as such rather than as a stable part of the workflow.
Where the template gets in your way
The most concrete limitation is version 4.x. The README carries a warning that 4.x will no longer be maintained unless there are critical bugs, with a link to the 4.x branch. If your project forked the template before 5.2, you are on a branch that receives no routine fixes, and the dynamic routing permission system introduced in 5.2 is not backported. That is a migration decision, not a patch.
The second constraint is the backend contract. Dynamic routing means the frontend expects a specific route shape from your API. The README does not publish that schema in the sections reproduced here, so the source of truth is the code under src/router and the permission handling in the repository. If your existing backend returns a flat permission list rather than a route tree, you will write the transformation yourself.
The third is the AI-tooling positioning. The repository includes agent configuration files, but the README does not describe what those files contain or how they change behavior across Claude Code, CodeX, Cursor, Trae and Antigravity. A team expecting the template to make any assistant produce correct code without review is reading more into the claim than the README supports.
Finally, this is a template, not a framework with a compatibility promise. There is no upgrade tooling described. Dependencies are pinned exactly in package.json, which keeps builds reproducible but means moving to a new Vue or Vite major version is a manual exercise. Teams that need long-term support contracts should look elsewhere; the project is maintained by a single author with community contributors.
How it differs from Naive UI Admin and vue-element-admin
The natural comparisons are Naive UI Admin and vue-element-admin, both of which appear in the search data around this project. The difference is in the component layer and the abstraction level.
vue-element-admin is the older Vue 2 generation and pairs with Element UI. V3 Admin Vite is Vue 3 with script setup and Element Plus, so the composition API and the current Element Plus component set are available from the start. If your team is already on Vue 3, porting patterns from vue-element-admin costs more than starting here.
Naive UI Admin uses Naive UI rather than Element Plus. That is the substantive difference: Naive UI is TypeScript-first and theme-driven through its own theming system, while Element Plus is closer to the Element UI API that a large number of Chinese enterprise teams already know. V3 Admin Vite's theme system uses CSS variables and SCSS, which is a lighter mechanism than a component library's built-in theme provider but also less capable if you need per-component token overrides.
The other differentiator is the AI-tooling layer. Neither of the comparison projects ships .claude/, .cursor/ or AGENTS.md directories in the layout described here. Whether that matters depends on whether your team actually uses those assistants on day-to-day edits. If it does not, that part of the template is inert.
Maintenance cadence, licence and upgrade cost
The last push to the repository was on 2026-07-11, and the most recent release is v5.2.0 from 2026-07-10. Before that, v5.1.0 landed on 2026-01-19 and v5.0.2 on 2025-07-14. The pattern is a small number of larger releases rather than continuous churn, with roughly six months between the last two minor versions. The repository is not archived.
That cadence has a practical consequence. Dependencies are pinned exactly, including Vue 3.5.39, Vite 7.3.6 and Element Plus 2.14.2. Between releases you will not receive patch bumps automatically, so security advisories against those versions are yours to track and apply. The lint-staged configuration runs eslint --fix on all staged files, and husky installs the git hooks through the prepare script, so contributions to your fork stay formatted without extra setup.
The licence is MIT, covering 2022 to present and attributed to pany. MIT permits commercial use, modification and redistribution provided the copyright notice and permission notice are retained. This article is not legal advice, but the practical implication for a template is that you can ship a closed-source product built on it as long as you keep the licence file. Note that the README also mentions paid services for removing TypeScript or other modules; those are separate commercial offerings from the author and are not covered by the MIT grant.
Editorial conclusion
Adopt V3 Admin Vite if you are starting a new Vue 3 dashboard and want a small, commented codebase with page-level and button-level permissions already wired up, and if your team already runs Node 20.19+ and pnpm 10+. Do not adopt it if you are maintaining a 4.x fork: the README states that branch no longer receives fixes except for critical bugs, so migrating to 5.2 is the only path to the new dynamic routing system. Before committing, open the repository and read src/router and the permission directive files to confirm the backend route format matches what your API can return, and check whether the vxe-table dependency is acceptable in your bundle.
Frequently asked questions
What Node and pnpm versions does V3 Admin Vite require?
The README lists Node 20.19+ or 22.12+ and pnpm 10+ as the recommended environment, along with VS Code or an AI IDE such as Cursor or Trae. It also points to .vscode/extensions.json for recommended editor plugins.
How do I start the V3 Admin Vite development server?
Clone the repository, enter the directory, run pnpm i to install dependencies, then run pnpm dev. Vite prints the local URL in the terminal, and opening it shows the login page.
How does V3 Admin Vite handle permissions?
The README describes page-level permissions through dynamic routing controlled by backend APIs, plus button-level permissions through permission directives and functions, plus route guards. Version 5.2 introduced the backend-controlled dynamic routing permission system.
Is V3 Admin Vite still maintained?
The repository is not archived and the last push was on 2026-07-11, with v5.2.0 released on 2026-07-10. The README warns that version 4.x will no longer be maintained unless there are critical bugs, so only the 5.x line receives routine changes.
Can I use V3 Admin Vite for a commercial product?
The project is released under the MIT licence, which permits commercial use, modification and redistribution as long as the copyright and permission notices are retained. The paid services mentioned in the README for removing TypeScript or other modules are separate offerings from the author.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/un-pany-v3-admin-vite)