A fresh and elegant admin template, based on Vue 3, Vite 6, TypeScript, Naive UI and UnoCSS.
VueNaiveAdmin
is a clean, elegant, beautiful and powerful admin template, based on the latest front-end technology stack, including Vue 3, Vite 6, TypeScript, Pinia and UnoCSS. It has built-in rich theme configuration and components, strict code specifications, and an automated file routing system. In addition, it also uses the online mock data solution based on ApiFox. VueNaiveAdmin
provides you with a one-stop admin solution, no additional configuration, and out of the box. It is also a best practice for learning cutting-edge technologies quickly.
Make sure your environment meets the following requirements:
# Clone project
git clone https://github.com/loicduong/vue-naive-admin.git
# Install dependencies
pnpm i
# Start project
pnpm dev
# Build project on production environment
pnpm build
# Build project on development environment
pnpm build:dev
# Build project on testing environment
pnpm build:tst
# Clean cache & related files
pnpm cleanup
# Check format of commit message
pnpm commit
# Start project on development environment
pnpm dev
# Start project on testing environment
pnpm dev:tst
# Start project on production environment
pnpm dev:prd
# Lint
pnpm lint
# Lint & auto fix
pnpm lint:fix
# Install & configure simple-git-hooks
pnpm prepare
# Release project
pnpm release
# Preview project
pnpm preview
# Check type
pnpm typecheck
# Update package
pnpm update-pkg
- Cutting-edge technology application: using the latest popular technology stack such as Vue 3, Vite 6, TypeScript, Pinia and UnoCSS.
- Clear project architecture: using pnpm monorepo architecture, clear structure, elegant and easy to understand.
- Strict code specifications: follow the Antfu Eslint Config, integrate eslint and simple-git-hooks to ensure the code is standardized.
- TypeScript: support strict type checking to improve code maintainability.
- Rich theme configuration: built-in a variety of theme configurations, perfectly integrated with UnoCSS.
- Built-in internationalization solution: easily realize multi-language support.
- Automated file routing system: automatically generate route import, declaration and type. For more details, please refer to unplugin-vue-router & vite-plugin-vue-layouts.
- Flexible permission routing: support both front-end static routing and back-end dynamic routing.
- Rich page components: built-in a variety of pages and components, including 403, 404, 500 pages, as well as layout components, tag components, theme configuration components, etc.
- Command line tool: built-in efficient command line tool, git commit, delete file, release, etc.
- Mobile adaptation: perfectly support mobile terminal to realize adaptive layout.
- Components auto importing: unplugin-vue-components & unplugin-icons.
- APIs auto importing: use unplugin-auto-import to import APIs directly.
- Deploy on Vercel, zero-config.
- Apply standard-readme to ensure the quality of the README file.
It is recommended to use the latest version of Chrome in development for a better experience.
not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
See the contributing file. PRs accepted.