{"id":13560146,"url":"https://github.com/HalseySpicy/Geeker-Admin","last_synced_at":"2025-04-03T15:31:42.651Z","repository":{"id":37206948,"uuid":"487315700","full_name":"HalseySpicy/Geeker-Admin","owner":"HalseySpicy","description":"✨✨✨ Geeker Admin，基于 Vue3.4、TypeScript、Vite5、Pinia、Element-Plus 开源的一套后台管理框架。","archived":false,"fork":false,"pushed_at":"2024-09-14T06:30:25.000Z","size":29257,"stargazers_count":7590,"open_issues_count":65,"forks_count":1586,"subscribers_count":72,"default_branch":"master","last_synced_at":"2025-04-01T22:23:56.357Z","etag":null,"topics":["admin","axios","element-plus","element-ui","pinia","typescript","vue","vue-admin","vue-router","vue3","vue3-admin","vue3x"],"latest_commit_sha":null,"homepage":"https://admin.spicyboy.cn","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HalseySpicy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T15:41:03.000Z","updated_at":"2025-04-01T09:49:16.000Z","dependencies_parsed_at":"2022-06-27T16:00:55.268Z","dependency_job_id":"2d319b9d-4a4d-4a48-a5a9-bee46056b016","html_url":"https://github.com/HalseySpicy/Geeker-Admin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalseySpicy%2FGeeker-Admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalseySpicy%2FGeeker-Admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalseySpicy%2FGeeker-Admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HalseySpicy%2FGeeker-Admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HalseySpicy","download_url":"https://codeload.github.com/HalseySpicy/Geeker-Admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247028000,"owners_count":20871634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","axios","element-plus","element-ui","pinia","typescript","vue","vue-admin","vue-router","vue3","vue3-admin","vue3x"],"created_at":"2024-08-01T13:00:38.327Z","updated_at":"2025-04-03T15:31:37.634Z","avatar_url":"https://github.com/HalseySpicy.png","language":"Vue","funding_links":[],"categories":["Vue","Components \u0026 Libraries","Task and Project Management","前端/博客","Templates"],"sub_categories":["Frameworks","开源项目","Admin Template"],"readme":"# Geeker-Admin\n\n### 介绍 📖\n\nGeeker-Admin 一款基于 Vue3.4、TypeScript、Vite5、Pinia、Element-Plus 开源的后台管理框架，使用目前最新技术栈开发。项目提供强大的 [ProTable](https://juejin.cn/post/7166068828202336263) 组件，在一定程度上提高您的开发效率。另外本项目还封装了一些常用组件、Hooks、指令、动态路由、按钮级别权限控制等功能。\n\n### React 版本 🔥\n\n- 有需要请加底部微信了解、购买\n\n- Link：https://pro.spicyboy.cn\n\n### 在线预览 👀\n\n- Link：https://admin.spicyboy.cn\n\n### 代码仓库 ⭐\n\n- Gitee：https://gitee.com/HalseySpicy/Geeker-Admin\n- GitHub：https://github.com/HalseySpicy/Geeker-Admin\n\n### 项目文档 📚\n\n- 项目更新日志：[CHANGELOG.md](./CHANGELOG.md)\n\n- 项目文档地址：https://docs.spicyboy.cn\n\n### 项目功能 🔨\n\n- 使用 Vue3.4 + TypeScript 开发，单文件组件**＜script setup＞**\n- 采用 Vite5 作为项目开发、打包工具（配置 gzip/brotli 打包、tsx 语法、跨域代理…）\n- 使用 Pinia 替代 Vuex，轻量、简单、易用，集成 Pinia 持久化插件\n- 使用 TypeScript 对 Axios 整个二次封装（请求拦截、取消、常用请求封装…）\n- 基于 Element 二次封装 [ProTable](https://juejin.cn/post/7166068828202336263) 组件，表格页面全部为配置项 Columns\n- 支持 Element 组件大小切换、多主题布局、暗黑模式、i18n 国际化\n- 使用 VueRouter 配置动态路由权限拦截、路由懒加载，支持页面按钮权限控制\n- 使用 KeepAlive 对页面进行缓存，支持多级嵌套路由缓存\n- 常用自定义指令开发（权限、复制、水印、拖拽、节流、防抖、长按…）\n- 使用 Prettier 统一格式化代码，集成 ESLint、Stylelint 代码校验规范\n- 使用 husky、lint-staged、commitlint、czg、cz-git 规范提交信息\n\n### 安装使用步骤 📔\n\n- **Clone：**\n\n```text\n# Gitee\ngit clone https://gitee.com/HalseySpicy/Geeker-Admin.git\n# GitHub\ngit clone https://github.com/HalseySpicy/Geeker-Admin.git\n```\n\n- **Install：**\n\n```text\npnpm install\n```\n\n- **Run：**\n\n```text\npnpm dev\npnpm serve\n```\n\n- **Build：**\n\n```text\n# 开发环境\npnpm build:dev\n\n# 测试环境\npnpm build:test\n\n# 生产环境\npnpm build:pro\n```\n\n- **Lint：**\n\n```text\n# eslint 检测代码\npnpm lint:eslint\n\n# prettier 格式化代码\npnpm lint:prettier\n\n# stylelint 格式化样式\npnpm lint:stylelint\n```\n\n- **commit：**\n\n```text\n# 提交代码（提交前会自动执行 lint:lint-staged 命令）\npnpm commit\n```\n\n### 项目截图 📷\n\n- 登录页：\n\n![login_light](https://i.imgtg.com/2023/04/13/8tknp.png)\n\n![login_dark](https://i.imgtg.com/2023/04/13/8tmpP.png)\n\n- 首页：\n\n![home_light](https://i.imgtg.com/2023/04/13/8tl1j.png)\n\n![home_dark](https://i.imgtg.com/2023/04/13/8tpfb.png)\n\n- 表格页：\n\n![table_light](https://i.imgtg.com/2023/04/13/8tfMx.png)\n\n![table_dark](https://i.imgtg.com/2023/04/13/8tv8F.png)\n\n- 数据可视化\n\n![dashboard](https://i.imgtg.com/2023/04/14/82Grx.png)\n\n- 数据大屏：\n\n![dataScreen](https://i.imgtg.com/2023/01/16/QP8HF.png)\n\n### 文件资源目录 📚\n\n```text\nGeeker-Admin\n├─ .husky                  # husky 配置文件\n├─ .vscode                 # VSCode 推荐配置\n├─ build                   # Vite 配置项\n├─ public                  # 静态资源文件（该文件夹不会被打包）\n├─ src\n│  ├─ api                  # API 接口管理\n│  ├─ assets               # 静态资源文件\n│  ├─ components           # 全局组件\n│  ├─ config               # 全局配置项\n│  ├─ directives           # 全局指令文件\n│  ├─ enums                # 项目常用枚举\n│  ├─ hooks                # 常用 Hooks 封装\n│  ├─ languages            # 语言国际化 i18n\n│  ├─ layouts              # 框架布局模块\n│  ├─ routers              # 路由管理\n│  ├─ stores               # pinia store\n│  ├─ styles               # 全局样式文件\n│  ├─ typings              # 全局 ts 声明\n│  ├─ utils                # 常用工具库\n│  ├─ views                # 项目所有页面\n│  ├─ App.vue              # 项目主组件\n│  ├─ main.ts              # 项目入口文件\n│  └─ vite-env.d.ts        # 指定 ts 识别 vue\n├─ .editorconfig           # 统一不同编辑器的编码风格\n├─ .env                    # vite 常用配置\n├─ .env.development        # 开发环境配置\n├─ .env.production         # 生产环境配置\n├─ .env.test               # 测试环境配置\n├─ .eslintignore           # 忽略 Eslint 校验\n├─ .eslintrc.cjs           # Eslint 校验配置文件\n├─ .gitignore              # 忽略 git 提交\n├─ .prettierignore         # 忽略 Prettier 格式化\n├─ .prettierrc.cjs         # Prettier 格式化配置\n├─ .stylelintignore        # 忽略 stylelint 格式化\n├─ .stylelintrc.cjs        # stylelint 样式格式化配置\n├─ CHANGELOG.md            # 项目更新日志\n├─ commitlint.config.cjs   # git 提交规范配置\n├─ index.html              # 入口 html\n├─ LICENSE                 # 开源协议文件\n├─ lint-staged.config.cjs  # lint-staged 配置文件\n├─ package-lock.json       # 依赖包包版本锁\n├─ package.json            # 依赖包管理\n├─ postcss.config.cjs      # postcss 配置\n├─ README.md               # README 介绍\n├─ tsconfig.json           # typescript 全局配置\n└─ vite.config.ts          # vite 全局配置文件\n```\n\n### 浏览器支持 🌎\n\n- 本地开发推荐使用 Chrome 最新版浏览器 [Download](https://www.google.com/intl/zh-CN/chrome/)。\n- 生产环境支持现代浏览器，不再支持 IE 浏览器，更多浏览器可以查看 [Can I Use Es Module](https://caniuse.com/?search=ESModule)。\n\n| ![IE](https://i.imgtg.com/2023/04/11/8z7ot.png) | ![Edge](https://i.imgtg.com/2023/04/11/8zr3p.png) | ![Firefox](https://i.imgtg.com/2023/04/11/8zKiU.png) | ![Chrome](https://i.imgtg.com/2023/04/11/8zNrx.png) | ![Safari](https://i.imgtg.com/2023/04/11/8zeGj.png) |\n| :---------------------------------------------: | :-----------------------------------------------: | :--------------------------------------------------: | :-------------------------------------------------: | :-------------------------------------------------: |\n|                   not support                   |                  last 2 versions                  |                   last 2 versions                    |                   last 2 versions                   |                   last 2 versions                   |\n\n### 项目后台接口 🧩\n\n项目后台接口完全采用 Mock 数据，感谢以下 Mock 平台支持：\n\n- FastMock： https://www.fastmock.site\n- EasyMock：https://mock.mengxuegu.com\n\n### 微信交流群 👨‍👨‍👦‍👦\n\n微信一群、二群、三群、四群已满，加作者微信进入五群（支持知识付费）🤪\n\n|                                               微信二维码                                                |\n| :-----------------------------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://pic.ziyuan.wang/user/guest/2024/02/WX20240228-162952@2x_d164375fc0c16.png\" width=170\u003e |\n\n### 捐赠 🍵\n\n如果你正在使用这个项目或者喜欢这个项目的，可以通过以下方式支持我：\n\n- Star、Fork、Watch 一键三连 🚀\n- 通过微信、支付宝一次性捐款 ❤\n\n|                                        微信                                        |                                       支付宝                                       |\n| :--------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://i.imgtg.com/2023/01/16/QRzBX.png\" alt=\"Alipay QRcode\" width=170\u003e | \u003cimg src=\"https://i.imgtg.com/2023/01/16/QRFZt.png\" alt=\"Wechat QRcode\" width=170\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHalseySpicy%2FGeeker-Admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHalseySpicy%2FGeeker-Admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHalseySpicy%2FGeeker-Admin/lists"}