JeecgBoot / jeecgboot-vue3
CLAUDE.md48k starsChanged 14 months agoApache-2.0View on GitHub
JeecgBoot Vue3 frontend — an enterprise low-code platform built with Vue 3 + Vite 6 + Ant Design Vue 4 + TypeScript. Uses pnpm as package manager. Node 18 or 20+ required (engines: "^18 || >=20"). The /@/ prefix (with leading slash) is the project's conventional alias — prefer it for consistency. createApp → createRouter → setupStore (pinia) → setupProps → i18n → initAppConfigStore → registerPackages (@jeecg/online) → registerGlobComp (core Ant Design components) → SSO login → registerSuper (dynamic module…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about jeecgboot/JeecgBoot
- vatsalp2008/AI-Agent-Discovery“Catalogue digest — 2026-10-05”GitHub · Oct 5, 2026
- vatsalp2008/AI-Agent-Discovery“Catalogue digest — 2026-09-28”GitHub · Sep 28, 2026
- vatsalp2008/AI-Agent-Discovery“Catalogue digest — 2026-09-21”GitHub · Sep 21, 2026
- pig-mesh/pig“fix(data): 限制分页排序字段,阻止 SQL 表达式注入”GitHub · Sep 19, 2026
- vatsalp2008/AI-Agent-Discovery“Catalogue digest — 2026-09-14”GitHub · Sep 14, 2026
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub and Bluesky (22 times).
On GitHub · 21
- Oct 5, 2026Catalogue digest — 2026-10-05 — vatsalp2008/AI-Agent-Discovery0 reactions
- Sep 28, 2026Catalogue digest — 2026-09-28 — vatsalp2008/AI-Agent-Discovery0 reactions
- Sep 21, 2026Catalogue digest — 2026-09-21 — vatsalp2008/AI-Agent-Discovery0 reactions
- Sep 19, 2026fix(data): 限制分页排序字段,阻止 SQL 表达式注入 — pig-mesh/pig0 reactions · 3 comments
- Sep 14, 2026Catalogue digest — 2026-09-14 — vatsalp2008/AI-Agent-Discovery0 reactions
16 more on GitHub
- Sep 7, 2026Catalogue digest — 2026-09-07 — vatsalp2008/AI-Agent-Discovery0 reactions
- Aug 31, 2026Catalogue digest — 2026-08-31 — vatsalp2008/AI-Agent-Discovery0 reactions
- Jul 1, 2026Source rot detected — 2026-07-01 — luongs3/skill-atlas0 reactions · 5 comments
- May 21, 2026底层api请求框架修改为okhttp,解决长时间闲置后的ConnectionReset问题 — jeecgboot/jeecg-boot-starter0 reactions
- Jan 7, 2026积木BI大屏长时间不关闭浏览器造成内存溢出 — jeecgboot/jimureport0 reactions · 2 comments
- Nov 20, 2025for issues/8781 千问模型,调用时是否可以增加千问模型自己的调用参数,例如允许联网搜索 — jeecgboot/jeecg-boot-starter0 reactions
- Nov 11, 2025for issues/9000 Online报表(带参数)预览后台报错 — jeecgboot/MiniDao0 reactions
- Nov 5, 2025for issues/8892 AutoPoi ImageEntity建议添加scale属性,控制图片导出缩放模式-补提代码 — jeecgboot/autopoi0 reactions
- Oct 29, 2025for issues/8892 AutoPoi ImageEntity建议添加scale属性,控制图片导出缩放模式 — jeecgboot/autopoi0 reactions
- Sep 3, 2025jeecgboot审计 — C0cr/blogcomment0 reactions
- Jul 18, 2025[GHSA-g5cj-5h58-j93w] Jeecg-boot vulnerable to SQL Injection — github/advisory-database0 reactions · 2 comments
- Jul 18, 2025[GHSA-4j2x-v3mr-467m] Jeecg-boot vulnerable to SQL injection via updateNullByEmptyString — github/advisory-database0 reactions · 2 comments
- Jul 18, 2025[GHSA-25gv-mvm7-5h3h] Jeecg-boot vulnerable to SQL injection via /sys/user/putRecycleBin — github/advisory-database0 reactions · 2 comments
- May 6, 2025fix: Jeecg Boot issues #8230 - autopoi使用模板导出时,如果传入的map中存在值为null时会导致异常… — jeecgboot/autopoi0 reactions
- Dec 4, 2024存在SQL注入漏洞CVE-2024-48307 — testnet0/testnet0 reactions · 1 comment
- Mar 22, 2021需求汇总 — jeecgboot/jimureport0 reactions · 3 comments
On Bluesky · 1
- Aug 11, 2024🔥 Hot Repo! 🔥 (100+ new stars) 📦 jeecgboot / JeecgBoot ⭐ 39,284 (+135) 🗒 Java 🔥「企业级低代码平台」前后端分离架构SpringBoot 2.x/3.x,SpringCloud,Ant… — @github-trending.bsky.social0 likes and reposts · 1 reply
In this repository2 other files it gives its agents.
- jeecgboot-vue3/AGENTS.mdAGENTS.md
- jeecg-boot/CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 69
All requests signed with MD5 via signMd5Utils
- Very specific: line 103
Use await import('module') or import('path/to/module').then() for lazy loading
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
JeecgBoot Vue3 frontend — an enterprise low-code platform built with Vue 3 + Vite 6 + Ant Design Vue 4 + TypeScript. Uses pnpm as package manager. Node 18 or 20+ required (engines: "^18 || >=20").
Common Commands
pnpm dev # Start dev server (port 3100, mock enabled)
pnpm build # Production build (output: dist/)
pnpm build:docker # Docker production build
pnpm build:dockercloud # Docker cloud production build
pnpm build:report # Build with bundle visualizer
pnpm preview # Build + preview
# Linting (no unified "lint" script — run individually)
npx eslint src/path/to/file.vue # Lint specific file
npx stylelint "src/**/*.{vue,less,css}" # Stylelint
pnpm batch:prettier # Format all src files
# Testing (Jest configured but not integrated into npm scripts)
# Tests exist in tests/ directory but no test script in package.json
# Run manually if needed: npx jest
pnpm clean:cache # Clear Vite cache
pnpm gen:icon # Regenerate icon data
pnpm reinstall # Clean reinstall all dependenciesPath Aliases
/@/and@/→src//#/and#/→types/~icons/{collection}/{name}→ unplugin-icons (compile-time icon imports)
The /@/ prefix (with leading slash) is the project's conventional alias — prefer it for consistency.
Architecture
Bootstrap Sequence (src/main.ts)
createApp → createRouter → setupStore (pinia) → setupProps → i18n → initAppConfigStore → registerPackages (@jeecg/online) → registerGlobComp (core Ant Design components) → SSO login → registerSuper (dynamic module discovery) → setupRouter → guards → directives → error handler → registerThirdComp (vxe-table, emoji, dayjs) → setupElectron → router.isReady() → mount
Routing & Permissions
- Permission mode: BACK — routes and menus are fetched from the backend API via
getBackMenuAndPerms() - Dynamic routes added at runtime in
src/store/modules/permission.ts - Static routes: login, oauth2-login, token-login, error pages, AI dashboard
- Router mode: HTML5 history (hash mode when running in Electron)
- Super modules discovered dynamically via
import.meta.glob('./**/register.ts')insrc/views/super/registerSuper.ts
State Management (Pinia)
Key stores in src/store/modules/:
user.ts(app-user) — auth token, user info, roles, tenant, dict itemspermission.ts(app-permission) — dynamic routes, permission codes, backend menusapp.ts(app) — project config, theme, layout settingslocale.ts(app-locale) — i18n localemultipleTab.ts(app-multiple-tab) — tab state
Auth persisted in localStorage via src/utils/auth/index.ts.
API Layer
- Custom Axios wrapper:
src/utils/http/axios/— configured instance exported asdefHttp - All requests signed with MD5 via
signMd5Utils - Tenant ID injected as header when
VITE_GLOB_TENANT_MODEis enabled - Response format:
{ code, result, message, success }wherecode === 200is success
Component Registration
- Auto-import:
unplugin-vue-componentswithAntDesignVueResolverauto-imports all Ant Design Vue components (no manual import needed in templates) - Global manual:
registerGlobComp.tsregisters Icon, AIcon, JUploadButton, Button, TinyMCE Editor - Third-party:
registerThirdComp.tsregisters vxe-table (full import), custom vxe cell components, emoji picker, dayjs plugins - Async loading: Heavy components use
src/utils/factory/createAsyncComponent.tsx
Icon System
Three icon approaches:
- Iconify runtime —
<Icon icon="mdi:home" />via@iconify/iconifyCDN lazy-load - SVG sprites —
<Icon icon="icon-name|svg" />viavite-plugin-svg-icons - unplugin-icons —
import IconName from '~icons/collection/name'for compile-time tree-shaken icons
Theme System
- Less variables generated by
build/generate/generateModifyVars.ts - Dark mode via Ant Design Vue
theme.darkAlgorithm - CSS variable
--j-global-primary-colorset dynamically from theme color - CSS class prefix:
jeecg(defined insrc/settings/designSetting.ts)
External Packages
@jeecg/onlineand@jeecg/aifloware external monorepo packages excluded from Vite optimizeDeps (CJS compatibility issues)- Registered via
registerPackages(app)in main.ts
Performance Optimization Patterns
Critical: Use dynamic imports for non-critical modules
- Static
importat top of file causes the entire dependency chain to load on initial page - Use
await import('module')orimport('path/to/module').then()for lazy loading - Key files using dynamic imports:
src/settings/registerThirdComp.ts— vxe-table, emoji picker (loaded after mount)src/views/super/registerSuper.ts— dynamic module discovery- Non-critical Ant Design Vue components loaded asynchronously
Vite optimizeDeps
- Pre-bundled dependencies in
vite.config.tsinclude: dayjs, axios, pinia, nprogress, qs, crypto-js, md5, sortablejs, xe-utils, vue-i18n, lodash-es, xss, mockjs - External packages (
@jeecg/*) excluded due to CJS issues
Micro-Frontend (Qiankun)
- Can run as master (hosting sub-apps) or child (embedded in parent)
- Config in
src/qiankun/, sub-apps viaVITE_APP_SUB_*env vars - Child mode activated when
VITE_GLOB_QIANKUN_MICRO_APP_NAMEis set
Electron Support
src/electron/— uses hash router mode- Platform detected via
VITE_GLOB_RUN_PLATFORM === 'electron'
Key Configuration
Environment Variables
.env— base config (port 3100, app title, SSO/qiankun flags).env.development— mock enabled, proxy tolocalhost:8080/jeecg-boot.env.production— mock disabled, gzip compression.env.docker— Docker production build config.env.dockercloud— Docker cloud production build config.env.prod_electron— Electron production build configVITE_GLOB_*vars are injected at runtime viadist/_app.config.js(changeable post-build)
Build
- Manual chunks:
vue-vendor,antd-vue-vendor,vxe-table-vendor,emoji-mart-vue-fast,china-area-data-vendor - Post-build:
build/script/postBuild.tsgenerates runtime config;copyChat.tscopies chat assets - Console/debugger stripped in production via esbuild
Code Style
- Prettier: 150 char width, single quotes, trailing commas (es5), 2-space indent,
endOfLine: 'auto',vueIndentScriptAndStyle: true(indent inside<script>/<style>),htmlWhitespaceSensitivity: 'strict' - ESLint: Vue3 recommended + TypeScript recommended + Prettier.
anyis allowed. Unused vars prefixed with_are ignored. Note:prettier/prettierrule is'off'— Prettier is not enforced via ESLint, run it separately - Commits: Conventional commits enforced via commitlint. Types: feat, fix, perf, style, docs, test, refactor, build, ci, chore, revert, wip, workflow, types, release. Max header: 108 chars
- i18n: Chinese (zh-CN) and English supported. Locale files in
src/locales/lang/
Important Directories
build/ # Vite plugins, build scripts, theme generation
src/api/ # API definitions (sys/, common/, demo/)
src/components/jeecg/ # Jeecg-specific components (JVxeTable, OnLine, etc.)
src/layouts/default/ # Main app layout (header, sider, tabs, menu)
src/settings/ # Project settings (design, components, locale, encryption)
src/utils/http/axios/ # HTTP client configuration
src/views/system/ # System management pages (user, role, menu, dict, etc.)
src/views/super/ # Dynamically-discovered extension modules
types/ # Global TypeScript declarationsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

