English | 简体中文
Vue Naive Admin is a **completely open source free and commercially allowed ** admin template,Based on the latest technology stack of front-end such as Vue3、Vite3、Pinia、Unocss and Naive UI
. Compared with other more popular backend management templates, this project is more concise, lightweight, fresh style, very low learning costs, ideal for small and medium-sized projects or personal projects.
- 🍒 Integrated Naive UI,recommended by Evan You.
- 🍑 Integrated login, logout and permission verification.
- 🍐 Integrated multi-environment configuration, dev, test, production and github pages environments.
- 🍎 Integrated
eslint + prettier
. - 🍌 Integrated
husky + commitlint
. - 🍉 Integrated
Mock
. - 🍍 Integrated
pinia
,lightweight, simple and easy to use alternative to vuex. - 📦 Integrated
unplugin
auto import. - 🤹 Integrated
iconify
icon,support custom svg icons. - 🍇 Integrated
unocss
.
https://zclzone.github.io/vue-naive-admin
# Recommended setup git autocrlf 为 false
git config --global core.autocrlf false
# Clone Project
git clone https://github.com/zclzone/vue-naive-admin.git
cd vue-naive-admin
# Install dependencies(Recommended use pnpm: https://pnpm.io/zh/installation)
npm i -g pnpm # Installed and can be ignored
pnpm i # or npm i
# Start
pnpm dev
# Test Environment
pnpm build:test
# Github Environment
pnpm build:github
# Prod Environment
pnpm build
# eslint check
pnpm lint
# eslint check and fix
pnpm lint:fix
# Preview(Need to build first)
pnpm preview
# Commit(husky+commitlint)
pnpm cz