How thinkgem/jeesite works
Project Type and Purpose
• This is a frontend monorepo for the JeeSite rapid‐development platform.
• Built with Vue3 + Vite + TypeScript + Ant Design Vue, it provides a fully featured management‑后台 UI.
• The repo is organized as a monorepo (packages/cms, packages/dbm, packages/tests) plus the main “src” app.
• It communicates with a JeeSite Spring Boot backend via REST APIs (proxied in VITE_PROXY).
File‑Structure Analysis
Top‑level directories and files:
• bin/ — Dev/build scripts
• build/ — Vite build config, plugins, options, theme customization
• packages/ — Three self‑contained frontend modules:
– cms — content management system UI
– dbm — data‑table modeling UI
– tests — demonstration/test harness (with its own server, controllers, services)
• public/ — Static assets served by Vite (css, images, layer.js, etc.)
• src/ — Main application:
– main.ts, App.vue, index.html
– api/ — API client definitions (grouped by domain)
– components/ — Globally registered reusable Vue components
– layouts/ — Page layout templates (default, iframe, page)
– views/ — Route‑level views (demo, sys, msg, test, etc.)
– router/ — Vue Router setup, routes, guards
– store/ — Pinia/Vuex modules
– utils/, hooks/, directives/, enums/, settings/, design/ — Support libraries
• vite.config.ts, uno.config.ts — Vite & UnoCSS configs
• .env.*, tsconfig.json, package.json
README Insights
• Confirms this is the Vue3/Vite frontend of JeeSite (backed by Spring Boot).
• Highlights the tech stack, core modules (org, user, role, menu, data‑modeling, code gen), plugin architecture, microkernel design.
• Mentions monorepo/Turborepo support.