How macrozheng/mall-admin-web works
Main Components
Frontend Layer:
• Vue.js Application Core
• Router (Vue Router)
• State Management (Vuex)
• UI Framework (Element UI)
• Feature Modules:
• Product Management (PMS)
• Order Management (OMS)
• Marketing Management (SMS)
• User Management (UMS)
• Content Management
• Statistics & Reports
API Integration Layer:
• Axios HTTP Client
• API Services
• Authentication/Authorization
Detailed Component Breakdown
Core Components:
[Vue Application Core]
• Router System
• State Management
• User State
• Permission State
• App State
• UI Components
• Layout Components
• Shared Components
• Feature-specific Components
Feature Modules:
[Feature Modules]
• Products (PMS)
• Product Management
• Category Management
• Brand Management
• Orders (OMS)
• Order Processing
• Shipping Management
• Returns Management
• Marketing (SMS)
• Promotions
• Coupons
• Advertising
• Users (UMS)
• Admin Management
• Role Management
• Permission Management
Implementation Details
• Frontend-Backend communication via REST APIs
• Authentication flow
• Module dependencies
• Data flow between components
• Integration with external services (if any)
Key Relationships to Highlight
• Vue Router ↔ Views
• Vuex Store ↔ Components
• API Services ↔ Backend
• Authentication ↔ Protected Routes
• Component Hierarchy