Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-21 03:19:19 +08:00
2024-07-15 18:44:17 +08:00
2024-07-15 18:28:55 +08:00
2023-06-12 18:20:24 +08:00
2024-03-08 21:12:48 +08:00
2023-08-29 18:13:35 +08:00
2023-08-29 18:13:35 +08:00
2023-08-29 18:13:35 +08:00
2023-06-12 18:20:54 +08:00
2024-05-24 10:24:31 +08:00
2024-05-24 10:24:31 +08:00
2023-12-29 18:57:54 +08:00

V3 Admin Vite Logo

V3 Admin Vite

English | 中文

Introduction

V3 Admin Vite is a free and open source middle and background management system basic solution, based on mainstream framework such as Vue3, TypeScript, Element Plus, Pinia and Vite

China repository: Gitee

📚 Document

  • Chinese documentation: link
  • Chinese getting started tutorial: link

📺 Online preview

Location account Link
github-pages admin or editor link

❤️ Generate electricity with love

  • Completely freeBut hopefully you order a star !!!
  • Very conciseNo complicated encapsulation, no complicated type gymnastics, out of the box
  • Detailed annotationsEach configuration item is written with as detailed comments as possible
  • Latest dependencies: Regularly update all third-party dependencies to the latest version
  • Very specification: The code style is unified, the naming style is unified, and the comment style is unified

Feature

  • Vue3The latest Vue3 composition API using Vue3 + script setup
  • Element PlusVue3 version of Element UI
  • Pinia: An alternative to Vuex in Vue3
  • ViteReally fast
  • Vue Routerrouter
  • TypeScriptJavaScript With Syntax For Types
  • PNPMFaster, disk space saving package management tool
  • ScssConsistent with Element Plus
  • CSS variableMainly controls the layout and color of the item
  • ESlintCode verification
  • Prettier Code formatting
  • Axios: Promise based HTTP client (encapsulated)
  • UnoCSS: Real-time atomized CSS engine with high performance and flexibility
  • Mobile Compatible: The layout is compatible with mobile page resolution

Functions

  • User management: Log in and out of the demo
  • Authority management: Page-level permissions (dynamic routing), button-level permissions (directive permissions, permission functions), and route navigation guards
  • Multiple Environments: Development, Staging, Production
  • Multiple themes: Normal, Dark, Dark Blue, three theme modes
  • Multiple layoutsLeft, Top, Left Top, three layout modes
  • Error page: 403, 404
  • Dashboard: Display different Dashboard pages according to different users
  • Other functionsSVG, Dynamic Sidebar, Dynamic Breadcrumb Navigation, Tabbed Navigation, Screenfull, Adaptive Shrink Sidebar, Hook (Composables)

🚀 Development

# configure
1. installation of the recommended plugins in the .vscode directory
2. node version 18.x or 20+
3. pnpm version 8.x or latest

# clone
git clone https://github.com/un-pany/v3-admin-vite.git

# enter the project directory
cd v3-admin-vite

# install dependencies
pnpm i

# start the service
pnpm dev

✔️ Preview

# stage environment
pnpm preview:stage

# prod environment
pnpm preview:prod

📦 Multi-environment packaging

# build the stage environment
pnpm build:stage

# build the prod environment
pnpm build:prod

🔧 Code inspection

# code formatting
pnpm lint

# unit test
pnpm test

Git commit specification reference

  • feat add new functions
  • fix Fix issues/bugs
  • perf Optimize performance
  • style Change the code style without affecting the running result
  • refactor Re-factor code
  • revert Undo changes
  • test Test related, does not involve changes to business code
  • docs Documentation and Annotation
  • chore Updating dependencies/modifying scaffolding configuration, etc.
  • workflow Work flow Improvements
  • ci CICD
  • types Type definition
  • wip In development

Project preview

preview1.png preview2.png preview3.png

💕 Contributors

Thanks to all the contributors!

💕 Thanks star

Small projects are not easy to get a star, if you like this project, welcome to support a star! This is the only motivation for the author to maintain it on an ongoing basis (whisper: it's free after all)

Donate

See how to donate

Group

See how to join a group chat

📄 License

MIT

Copyright (c) 2022-present pany

Description
☀️ A vue3 admin template | vue3 admin/element plus admin/vite admin/vue3 template/vue3 后台/vue3 模板/vue3 后台管理系统
Readme MIT 95 MiB
Languages
Vue 53.4%
TypeScript 36.7%
CSS 5.7%
SCSS 3.1%
JavaScript 0.8%
Other 0.3%