Overview:
ElegantAdmin is a Vue3-based admin template developed using Vite, TypeScript, ElementPlus, Pinia, and Unocss. It incorporates modern frontend technologies, multiple theme configurations, and serves as a pre-built frontend solution for mid-to-back-end projects. It also functions as a learning reference due to its use of cutting-edge tech stacks.
Features:
- Cutting-Edge Technologies: Utilizes Vue3, Vite5, TypeScript, Pinia, and UnoCSS.
- Latest Tech Stack: Developed with Vue3, Vite, Pinia, and npm package manager pnpm for efficiency.
- TypeScript: Implements application-level JavaScript language.
- Theming: Offers rich theme configurations, dark mode, and uses atomic CSS framework Unocss.
- Strict Code Standards: Incorporates antfu/eslint-config for baseline standards, integrating ESLint, StyleLint, and simple-git-hooks for code consistency.
- Permission Routing: Simplified route configuration utilizing frontend and backend dynamic routes.
- Request Functions: Complete request function encapsulation based on Axios.
- Mock Backend Data: Simulates backend data based on mock scenarios.
- Table Components: Includes table components and query components wrapped around ElementPlus.
Installation:
- Environment Setup: Requires pnpm 8.x, Node.js ^18.18.0 || ^20.0.0, and Git installed locally.
- Clone Repository: Clone the code repository.
git clone [repository-url]
- Install Dependencies: Run the following command to install dependencies.
pnpm install
- Build and Run: Execute the command to build and run the application.
- Browser Support: Chrome browser is recommended for local development. For detailed browser compatibility, refer to Vue and Vite browser support documentation.
Summary:
ElegantAdmin is a robust admin template built on modern technologies like Vue3, Vite, TypeScript, and ElementPlus. With a focus on code standards, theming options, and ease of use for both frontend and backend configurations, it provides a solid foundation for mid-to-back-end projects. The inclusion of permission routing, request function encapsulation, and table components enhances its versatility for various application requirements.