How leepule/geeker-admin works
Main System Components
The system architecture should be represented with these key components:
Frontend Architecture:
• Core Framework Layer
• Vue 3.4 + TypeScript as the foundation
• Vite 5 as build tool
• Pinia for state management
• Vue Router for routing
• Feature Layers:
• Authentication & Authorization
• Layouts & Themes
• Internationalization (i18n)
• Component Library
• API Integration
Detailed Component Relationships
[Client Browser] → [Frontend Application]
• [Core Framework]
• Vue 3.4 + TypeScript
• Vite 5
• Pinia Store
• [Layout System]
• Classic Layout
• Columns Layout
• Transverse Layout
• Vertical Layout
• [Feature Modules]
• Authentication
• Authorization
• i18n
• Theme Management
• [Component Library]
• ProTable
• ECharts
• Custom Components
• [API Layer]
• Axios Instance
• API Modules
• Mock Services
Key Design Elements
Use these visual elements:
• Blue: Core framework components
• Green: Feature modules
• Orange: External services/APIs
• Purple: Security components
Implementation Details
a) State Management:
[Pinia Stores]
• Auth Store
• Global Store
• Tabs Store
• User Store
b) Router Structure:
[Vue Router]
• Static Routes
• Dynamic Routes
• Route Guards
c) Component Architecture:
[Components]
• Layouts
• Common Components
• Feature Components
• Page Components
Technical Stack Callout
[Technical Stack]
• Vue 3.4
• TypeScript
• Vite 5
• Pinia
• Element-Plus
• ECharts
• Axios
Development Workflow
A small section showing:
[Development Workflow]
• ESLint/Prettier
• Husky
• Commitlint
• Build Process