vue-naive-admin's newest tag is 2.0.0 from 2023, and its dependency ranges are three majors ahead of it
A lightweight admin dashboard template based on Vue3, Vite, Pinia, UnoCSS and Naive UI.
At a glance
- What is it?
- A look at a Vue 3 admin template that refuses TypeScript on the frontend, ships its own NestJS backend, gets its menus from that backend rather than from a route file, lints every staged file on commit, and pins four separate UnoCSS packages to the same version number.
- Who is it for?
- vue-naive-admin fits a small team or an individual developer who wants an admin interface with a working backend rather than a set of screens to wire up, and who would rather read JavaScript than TypeScript. It does not fit someone who needs a released, citable version, because the newest tag is nearly three years old while the dependency ranges have moved on, and it does not fit someone whose backend is not NestJS unless they are willing to adapt the menu contract.
- 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 89 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 November 25, 2026, and from our analysis. They are not legal advice.
Star history
- zclzone/vue-naive-admin3,982 ★ · -5
| Repository | 2026-09-24 | 2026-11-25 |
|---|---|---|
| zclzone/vue-naive-admin | 4k | 4k |
-5 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The newest tag is from 2023 and the manifest dependencies are not
Three release tags, and they tell a short story. v1.0.3 on 2022-09-25, then v1.1.0 in October 2023 described as the 1.0 stable release, then v2.0.0 on 2023-12-20.
So the last published release is v2.0.0, from December 2023. The manifest still says version 2.0.0, which means cloning the repository gives you exactly the state that release describes, as far as the version field is concerned.
What has moved is the dependency ranges, and not slightly. The manifest asks for Vite 8, ESLint 10, Vue Router 5, Pinia 3, Vue 3.5, ECharts 6, axios 1.16, and an UnoCSS release numbered 66. Those are several major versions past what a tag from December 2023 would have resolved to, and the repository's last push was on 2026-08-29.
The practical reading is that this project is developed against current dependencies and released rarely. A fresh install will resolve the ranges to the newest matching versions, which is what the author works against, and which is not what the 2.0.0 tag was tested with. If you need a reproducible starting point, resolve the lockfile once and keep it, because pnpm-lock.yaml is committed and that is the only thing tying your install to a specific set of versions.
The project is not archived and the default branch is 2.x, so the active line is the one the tag names.
No TypeScript on the frontend is a stated design position, and jsconfig.json is the proof
Most Vue 3 admin templates on the market are written in TypeScript. This one is not, and the readme gives the reason: to lower the learning cost for the people using it, the author left out what is presented as the mainstream choice.
That decision is described as making vue-naive-admin one of the few Vue 3 admin templates that uses JavaScript, and one that the author considers good. The target audience is named as small and medium businesses, university students and individual developers, which is consistent with the reasoning: a template you are meant to read and modify should not also require you to learn a type system.
The repository shows the same choice in its filenames. There is a jsconfig.json at the root and no TypeScript configuration file, which is what an editor uses for path aliases and JavaScript language service hints rather than for compiling types.
The interesting wrinkle is the backend. The 2.0 stack is NestJS with TypeORM and MySQL, and NestJS is a TypeScript framework. So the repository is JavaScript on the front and TypeScript on the back, with the type system living exactly where it is framework-imposed rather than where it is optional.
The published design idea behind it is simplicity as the guiding value, which the readme credits the project with holding from 1.0 through to 2.0.
1.0 was a mock backend, 2.0 is a real one, and they are not the same codebase
The readme is unusually direct about the jump between the two versions, and it is worth reading before you pick a demo to look at.
Four differences are given. Version 2.0 was redesigned from scratch in the style of 1.0, so it looks similar while the code structure is described as fairly different. Version 1.0 provided only the frontend with the backend simulated by mocks, while 2.0 is the full stack version with real backend interfaces. Version 2.0 has the higher number but considerably lower complexity, with the note that 1.0 was simple too. And 2.0 is far more flexible, since you can give each page its own layout if you want to.
That third point is the one to sit with. The newest version is described as simpler than the older one, and the reason is visible in the structure: 1.0 had a mock layer to maintain alongside the interface, and 2.0 replaced it with a real service.
There are two live demos, one per version, at template.isme.top for 1.0 and admin.isme.top for 2.0. The 2.0 site is also the project's listed homepage, which tells you which one the project is currently steering people toward.
The rest of the feature list is a normal admin template inventory: flattened routing where any component can be a page, zero coupling between business modules so deleting one does not break the others, Pinia with state persistence, iconify with UnoCSS for icons, and business components for pages, CRUD tables and modals.
Menus come from the backend, so a fresh clone has no menu until you configure one
The readme calls out adding and editing menus as a common question, and the answer explains a structural choice rather than offering a snippet.
Menus are controlled by the backend. So the sequence is: connect to the backend, add, edit or delete entries in the resource management feature, then grant them to the right roles in role management. The route you see in the interface is derived from what the server says the user may see, not from a route file in the repository.
That is the permission-based dynamic route generation from the feature list, with one specific property called out: 403 and 404 are distinguishable pages, so a user without permission sees a forbidden page rather than a not-found page.
There is an escape hatch for menus you do not want under permission control. You add a basePermissions entry in the /src/settings.js file, matching the structure of the menu resources, with the API documentation given as the reference for that shape. The two-path model is deliberate: server-driven menus for the dynamic parts, a static file for the fixed parts.
The reason this matters on day one is that it means the template does not ship a working navigation. You get the mechanism and you get the permission model, and the contents of your menu come from whatever your backend returns.
Every staged file goes through eslint on commit, configured by a flat config
The commit hook is a two-step chain and both halves are in the manifest.
postinstall runs npx simple-git-hooks, which installs a git hook into your checkout. That hook is configured as pre-commit running npx lint-staged. And lint-staged is configured with a single rule: for every file matched by a wildcard, run eslint --fix.
So the pattern is: everything staged gets linted and auto-fixed at commit time, on any file type, not just JavaScript. There is no separate lint step in the scripts to remember, and the scripts list reflects that: dev, build, preview and lint:fix, with the fix variant as the only lint command.
The linting itself is configured through eslint.config.js at the root, which is the flat configuration format, and it builds on the Antfu shared config. Two related packages are in the development dependencies alongside it: eslint-plugin-format and the UnoCSS eslint plugin, so styles written as utility classes are checked by the same run.
There is one more script worth naming because it is unusual. Beyond dev, build, preview and lint:fix there is a script called up, which runs taze in its major version mode. That is a release-time version check rather than part of the build, and having it wired into the same manifest as the dev server is a small indicator of how the release process is run: from the package.json, not from a release pipeline.
UnoCSS appears four times at one version, and one of them converts rem to pixels
The atomic CSS framework is UnoCSS, described as elegant, light and easy to use. The dependency list is where it gets interesting.
Four separate packages appear, all on the same version range of 66.7: the framework itself, an eslint configuration for it, an eslint plugin for it, and a preset that converts rem units to pixels. Four packages sharing one version number is a sign of how the framework's own packages are versioned, and for anyone reading the manifest it means upgrading UnoCSS is a coordinated change across four entries rather than one.
The rem-to-px preset is the one with an obvious effect on your output. A framework that generates utility classes in rem produces sizes that scale with the root font size; converting them to pixels fixes them. That is a real choice with a real consequence, and it is made in the dependency list rather than in a documented configuration decision.
Icons follow the same pattern of one framework across two tools. The readme names iconify with UnoCSS for icons, with support for custom icons and dynamic rendering, and the dev dependencies include the iconify JSON collection at version 2.2. That collection is a large data package of icon sets, which is what makes dynamic icon names resolve at build time rather than being resolved one import at a time.
pnpm is the expected package manager, and three environment files are committed
Three files at the root of the repository fix the package manager: pnpm-lock.yaml, pnpm-workspace.yaml and .npmrc. The lockfile means your install is reproducible, the workspace file declares this as a workspace root, and the npmrc is where registry and pnpm settings live.
That combination is a deliberate statement. You are expected to use pnpm rather than npm or yarn, and the committed lockfile is the thing that makes a fresh clone resolve to the versions the author works with.
Alongside those, there are three environment files: .env, .env.development and .env.production. The base .env sitting in the repository root alongside the two per-mode files is worth a look before you deploy anything, because it is where the API base URL and any other shared setting will be, and template users routinely ship the development file by accident.
The rest of the layout is small and conventional. src/ holds the application, public/ the static assets, build/ a build output directory, index.html the Vite entry, vite.config.js the bundler config, and uno.config.js the utility class configuration. There is an .editorconfig and a .vscode/ directory.
Starting a project from this repository is one command if you do not want its history, and degit is the tool for it:
npx degit zclzone/vue-naive-adminThe alternative offered is a template generator link on the repository, which creates a GitHub repository from it instead.
The manifest sets the package as private and as an ES module, which is the correct pairing for a Vite application that is never published to a registry. The version field of 2.0.0 is the one number in this project that does not move on its own.
A rival design system's colour maths and a spreadsheet parser are both runtime dependencies
Two entries in the runtime dependencies are worth asking about, because both are libraries you would not expect to find in a template whose interface is built on a different component library.
The first is @arco-design/color at 0.4, which is the colour manipulation package from Arco Design, a different Vue component library. Its presence in a Naive UI project means the template uses that library's colour maths, most likely for generating tints and shades from a theme colour, rather than reimplementing it.
The second is xlsx at 0.18, which is a spreadsheet file parser, listed as a runtime dependency rather than a development one. That implies some part of the shipped application reads or writes spreadsheet files, which is consistent with the CRUD table component being able to export.
The rest of the runtime list is the expected admin stack: Vue 3.5, Vue Router 5, Pinia 3 with a persistence plugin, Naive UI, axios for requests, dayjs for dates, lodash-es for utilities, ECharts with its Vue wrapper for charts, and VueUse for composables.
The backend is where the interesting variation is. The bundled NestJS service is published in three places, on GitHub, Gitee and GitCode, and the readme also lists three third-party backends other people have wired to this template: one in Java on Spring Boot, one in Go on gin with gorm, and another Java service on Spring Boot 3 with JDK 21. That list is the strongest evidence that the menu contract is the interface, not the NestJS code.
Editorial conclusion
vue-naive-admin fits a small team or an individual developer who wants an admin interface with a working backend rather than a set of screens to wire up, and who would rather read JavaScript than TypeScript. It does not fit someone who needs a released, citable version, because the newest tag is nearly three years old while the dependency ranges have moved on, and it does not fit someone whose backend is not NestJS unless they are willing to adapt the menu contract. Before you start, read the 2.0 against 1.0 differences rather than the feature list, decide whether menus should come from the backend or from settings.js, and pin the versions yourself, since the ranges in the manifest resolve to much newer majors than the release they sit in.
Frequently asked questions
What is Naive UI in vue-naive-admin?
It is the component library the template's interface is built on. The features list wraps a global message helper on Naive UI with batch notifications and a cross-page singleton mode, plus business components including a Page component, a CRUD table and a Modal, all described as reducing repetitive work. Themes are described as easy to customise.
Is vue-naive-admin free to use?
Yes. It is MIT licensed, and the readme states the licence authorises anyone to use, copy, modify, merge, publish, distribute, sublicense and sell copies with no other restriction, on the condition that copies, modifications and distributions include the original copyright and licence information.
What is the stack inside vue-naive-admin?
The frontend is Vite plus Vue 3 plus Pinia plus UnoCSS, and the 2.0 backend is NestJS with TypeORM and MySQL, with JWT and a role-based access layer built in. The manifest lists Vue 3.5, Pinia 3, Vue Router 5, Naive UI and ECharts 6 among the runtime dependencies.
How do I start a project from vue-naive-admin without its commit history?
Use the template generator link on the repository to create a GitHub repository from it, or clone it with degit, which brings no commit history: npx degit zclzone/vue-naive-admin. The project ships pnpm-lock.yaml, pnpm-workspace.yaml and .npmrc, so pnpm is the expected package manager.
Why does vue-naive-admin not use TypeScript?
The stated reason is to lower the learning cost for the people using the template, which the readme says makes it one of the few Vue 3 admin templates written in JavaScript. The root carries jsconfig.json rather than a TypeScript configuration, while the bundled NestJS backend is TypeScript because the framework requires it.
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/zclzone-vue-naive-admin)Star history chart for your README
[](https://hysenlabs.com/projects/zclzone-vue-naive-admin)Was this useful?