MCPcopy Index your code
hub / github.com/buqiyuan/vue3-antdv-admin

github.com/buqiyuan/vue3-antdv-admin @v1.2 sqlite

repository ↗ · DeepWiki ↗ · release v1.2 ↗
511 symbols 1,194 edges 241 files 44 documented · 9%
README

vue3-antdv-admin

基于 vite4.x 重构整个前后端项目,完善后端权限控制细粒度,封装更多场景化组件...正在完善中

基于 vite4.x + vue3.x + antd-design-vue4.x + typescript5.x 的后台管理系统模板

部分设计参考了 vue-vben-admin

安装使用

  • 获取项目代码
git clone --depth 1 https://github.com/buqiyuan/vue3-antdv-admin
  • 安装依赖
cd vue3-antdv-admin

pnpm install

  • 运行
pnpm dev
  • 打包
pnpm build

vscode 配置

安装项目根目录 .vscode 推荐的插件,再安装 Volar,并禁用 Vetur,重启 vscode 即可。

使用了 Vue3.x 全家桶、ant-design-vue3.x 和 typescript4.x,实践 vue3.x 的新特性以及玩法,不得不说 vue3.x 的 Composition API 相比于 vue2.x 的 Options API 灵活很多,让我们可以灵活地组合组件逻辑,我们可以很轻松的使用 hooks 的形式去代替以前 mixins 等的写法。更多 hooks 可以参考vueuse

项目简要说明

rootadmin 默认开放多点登录,其他新建的账号默认都是单点登录。建议自己拉后端代码到本地跑,避免多人同时操作时产生冲突和误解。

todolist

  • [x] 动态表格(完善中)
  • [x] 动态表单(完善中)
  • [ ] 电商 SKU 功能演示
  • [ ] 纯前端导出 PDF 动态分页
  • [ ] 其他...

Git 贡献提交规范

  • 参考 vue 规范 (Angular)

  • feat 增加新功能

  • fix 修复问题/BUG
  • style 代码风格相关无影响运行结果的
  • perf 优化/性能提升
  • refactor 重构
  • revert 撤销修改
  • test 测试相关
  • docs 文档/注释
  • chore 依赖更新/脚手架配置修改等
  • workflow 工作流改进
  • ci 持续集成
  • types 类型定义文件更改
  • wip 开发中

更新日志

CHANGELOG

赞赏

如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持!

微信 支付宝

感谢 JetBrains 免费的开源授权

Extension points exported contracts — how you extend this code

ChangeEvent (Interface)
(no doc)
types/global.d.ts
RouteMeta (Interface)
(no doc)
types/vue-router.d.ts
ImportMetaEnv (Interface)
(no doc)
types/env.d.ts
Fn (Interface)
(no doc)
types/index.d.ts
ComponentCustomProperties (Interface)
(no doc)
types/shims/shims-vue.d.ts
RenderCallbackParams (Interface)
(no doc)
src/components/core/schema-form/src/types/form.ts
RequestOptions (Interface)
(no doc)
src/utils/request.ts
TreeDataItem (Interface)
(no doc)
src/core/permission/utils.ts

Core symbols most depended-on inside this repo

request
called by 65
src/utils/request.ts
testUa
called by 31
src/utils/browser-type.ts
get
called by 26
src/utils/Storage.ts
t
called by 25
src/hooks/useI18n.ts
testVs
called by 18
src/utils/browser-type.ts
set
called by 16
src/utils/Storage.ts
isObject
called by 15
src/utils/is/index.ts
isFunction
called by 14
src/utils/is/index.ts

Shape

Function 390
Interface 54
Method 47
Class 12
Enum 8

Languages

TypeScript100%

Modules by API surface

src/utils/is/index.ts21 symbols
src/core/socket/socket-io.ts19 symbols
src/components/core/schema-form/src/hooks/useFormEvents.ts16 symbols
src/utils/performanceMonitor.ts14 symbols
src/utils/ws-axios/WsAxios.js13 symbols
src/utils/Storage.ts12 symbols
src/store/modules/user.ts11 symbols
src/store/modules/tabsView.ts11 symbols
src/components/core/dynamic-table/src/hooks/useTableMethods.tsx11 symbols
src/components/core/dynamic-table/src/hooks/useEditable.ts11 symbols
src/api/netdisk/index.ts10 symbols
src/utils/common.ts9 symbols

Dependencies from manifests, versioned

@ant-design/icons-vue7.0.1 · 1×
@commitlint/cli17.8.0 · 1×
@commitlint/config-conventional17.8.0 · 1×
@types/lodash-es4.17.9 · 1×
@types/node20.8.6 · 1×
@typescript-eslint/eslint-plugin6.8.0 · 1×
@vitejs/plugin-legacy4.1.1 · 1×
@vitejs/plugin-vue4.4.0 · 1×
@vitejs/plugin-vue-jsx3.0.2 · 1×
@vue/runtime-core3.3.4 · 1×
@vue/tsconfig0.4.0 · 1×

For agents

$ claude mcp add vue3-antdv-admin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact