一个简洁的 NaiveUI + Vite 7 + Vue3 + TSX + Pinia + UnoCSS + Unplugin + ESLint(v9) + Vitest 的 B 端后台 Admin 原型模板框架, 开箱即用, 内置模块化管理、Commit 规范检测 Husky + lint-staged 、路由鉴权、暗黑模式、Unplugin Auto 自动导入, 适合快速搭建和二次开发实际业务场景, 持续更新最新技术栈
The Vite Naive Template is a starter template built on Vite 5.x, TypeScript, Vue 3.4, Naive UI, Pinia, UnoCSS, and Unplugin Auto Import. It is designed to provide a clean and efficient framework for building B-end admin prototypes with Naive UI. The template includes features such as modular code management with Pinia, route authentication, dark mode support with UnoCSS, and automatic component importing with Unplugin. It is constantly updated to incorporate the latest technology stack.
<IconFont /> component for easy use of IconFont icons.$ModalXxxx Plugin: The template includes a service-style plugin for convenient plugin usage.permission.ts file.To install the Vite Naive Template, follow these steps:
Install the necessary node dependencies in all packages.
npm install
Run the application in the local development environment.
npm run dev
The Vite Naive Template is a powerful starter template for building B-end admin prototypes using Vite, TypeScript, and Vue with Naive UI. It offers a range of features including modular code management, route authentication, automatic component importing, and more. The template is designed to be lightweight and highly efficient, allowing developers to focus on their own business code. With regular updates to incorporate the latest technology stack, the Vite Naive Template provides a solid foundation for building practical business applications.