代码拉取完成,页面将自动刷新
同步操作将从 HalseySpicy/Geeker-Admin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Geeker Admin,是基于 Vue3.2、TypeScript、Vite2、Pinia、Element-Plus 开发的一套后台管理模板,目前利用空余时间开发了一个月左右 🕒🕒。项目中很多功能都是借鉴别的管理系统,整个项目还有很多地方不完善,后期会持续更新。项目中有很多地方写得不是很好,希望大家能多提意见。
1、主要是学习下 Vue3 + TypeScript
2、目前看了很多 Vue3 的开源后台管理系统,感觉都非常庞大,很多功能基本上也用不到,所以自己就尝试写了一下这个管理系统(适合自己的才是最好的 🤣)
<script setup>
)git clone https://gitee.com/laramie/Geeker-Admin.git
git clone https://github.com/HalseySpicy/Geeker-Admin.git
npm install
cnpn install
# npm install 安装失败,请升级 nodejs 到 16 以上,或尝试使用以下命令:
npm install --registry=https://registry.npm.taobao.org
npm run dev
# 开发环境
npm run build:dev
# 测试环境
npm run build:test
# 生产环境
npm run build:pro
# eslint检测
npm run lint:eslint
# prettier格式化修复
npm run lint:prettier
Geeker-Admin
├─ .vscode # vscode推荐配置
├─ public # 静态资源文件(忽略打包)
├─ src
│ ├─ api # API 接口管理
│ ├─ assets # 静态资源文件
│ ├─ components # 全局组件
│ ├─ config # 全局配置项
│ ├─ directives # 全局指令文件
│ ├─ enums # 项目枚举
│ ├─ hooks # 常用 Hooks
│ ├─ language # 语言国际化
│ ├─ layout # 框架布局
│ ├─ routers # 路由管理
│ ├─ store # pinia store
│ ├─ styles # 全局样式
│ ├─ typings # 全局 ts 声明
│ ├─ utils # 工具库
│ ├─ views # 所有页面
│ ├─ App.vue # 入口页面
│ ├─ env.d.ts # ts 识别 vue 文件
│ └─ main.ts # 入口文件
├─ .editorconfig # 编辑器配置(格式化)
├─ .env # vite 配置
├─ .env.development # 开发环境配置
├─ .env.production # 生产环境配置
├─ .env.test # 测试环境配置
├─ .eslintignore # 忽略 Eslint 校验
├─ .eslintrc.js # Eslint 校验配置
├─ .gitignore # git 提交忽略
├─ .prettierignore # 忽略 prettier 格式化
├─ .prettierrc.js # prettier 配置
├─ index.html # 入口 html
├─ LICENSE # 开源协议
├─ package-lock.json # 包版本锁
├─ package.json # 包管理
├─ postcss.config.js # postcss 配置
├─ README.md # README 介绍
├─ STANDARD.md # 项目规范文档
├─ tsconfig.json # typescript 全局配置
└─ vite.config.ts # vite 配置
默认支持以下浏览器,vue3.2 不支持 IE 浏览器。更多浏览器可以查看 Can I Use Es Module
💢 请不要使用QQ浏览器开发,QQ 浏览器 不识别 某些 ES6 以上语法
last 2 versions | last 2 versions | last 2 versions | last 2 versions |
项目后台接口完全采用 Mock 数据
推荐一个在线 Mock 平台: https://www.fastmock.site/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。