No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Vue 53.7%
  • TypeScript 37.1%
  • SCSS 6.5%
  • CSS 2.1%
  • JavaScript 0.4%
  • Other 0.2%
Find a file
2024-01-08 08:25:16 +00:00
.github chore: upgrade the vite version to 5.x 2023-12-02 14:40:55 +08:00
.husky feat: 引入 husky 配合 lint-staged 2022-04-25 19:29:35 +08:00
.vscode chore: 更新新版 VSCode codeActionsOnSave 配置 2024-01-04 21:03:36 +08:00
public style: 伪元素统一采用双冒号格式 2023-08-17 13:55:23 +08:00
src fix: 修复处于顶部模式时 el-menu 未自适应宽度去折叠的问题 (#153) 2024-01-04 22:59:02 +08:00
tests perf: 代码优化 tests/demo.test 2023-06-12 18:20:24 +08:00
types feat: 动态标题 2023-08-29 18:13:35 +08:00
.editorconfig perf: 代码优化 .editorconfig 2023-06-20 09:13:11 +08:00
.env feat: 动态标题 2023-08-29 18:13:35 +08:00
.env.development feat: 动态标题 2023-08-29 18:13:35 +08:00
.env.production chore: 移除废弃的 mock api 2023-10-08 14:43:14 +08:00
.env.staging chore: 移除废弃的 mock api 2023-10-08 14:43:14 +08:00
.eslintignore docs: 新增 npmrc 配置注释并添加到 eslint 忽略文件 2023-06-21 11:54:13 +08:00
.eslintrc.cjs chore: upgrade the vite version to 5.x 2023-12-02 14:40:55 +08:00
.gitignore feat: 新增两份用于 vscode 一键生成 vue3 代码的 .code-snippets 文件 2023-02-07 17:59:44 +08:00
.npmrc docs: 新增 npmrc 配置注释并添加到 eslint 忽略文件 2023-06-21 11:54:13 +08:00
.prettierignore fix: 启用 pnpm shamefully-hoist 配置,用以修复 vue 组件和 element plus 组件没有类型提示的问题 2023-06-16 13:21:01 +08:00
index.html feat: 动态标题 2023-08-29 18:13:35 +08:00
LICENSE perf: 代码优化 LICENSE 2023-06-12 18:20:54 +08:00
package.json chore: fixed vxe-table 4.4.1 && update other dependencies 2024-01-04 22:49:14 +08:00
pnpm-lock.yaml chore: fixed vxe-table 4.4.1 && update other dependencies 2024-01-04 22:49:14 +08:00
prettier.config.js chore: upgrade the vite version to 5.x 2023-12-02 14:40:55 +08:00
README.en.md 修改README 2024-01-08 08:25:16 +00:00
README.md 修改README 2024-01-08 08:25:16 +00:00
tsconfig.json chore: update vue 3.4 2023-12-29 18:57:54 +08:00
unocss.config.ts chore: updates all dependencies && unocss 0.53.0 2023-06-05 16:10:13 +08:00
vite.config.ts chore: 适配 vite 5 2023-12-12 19:01:25 +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, log out of the demo
  • Authority management: Built-in page permissions (dynamic routing), instruction permissions, permission functions
  • Multiple Environments: Development, Staging, Production
  • Multiple themes: Normal, Dark, Dark Blue, theme modes
  • Multiple layoutsBuilt-in left, 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

QQ group1014374415 (left) && add me on WeChatInvite you to join WeChat group (right)

qq.png wechat.png

📄 License

MIT

Copyright (c) 2022-present pany