What is DVHA and when to use it
mainDVHA is a Vue 3-based frontend framework specifically designed for mid-to-back-office (B-side) systems. Unlike traditional frameworks that rely heavily on local code compilation and static page definitions, DVHA focuses on a "lightweight" development experience by providing a skeleton for common administrative tasks.
Core Capabilities
DVHA provides built-in support for:
- Routing & Menus: Handles complex routing and menu structures.
- Authentication & Permissions: Unified logic for login and access control.
- Multi-Admin Support: Native capability to manage multiple administrative portals (e.g.,
/admin,/merchant,/user,/agent) without splitting logic manually later. - Dynamic Rendering: Supports JSON Schema-driven forms and remote/dynamic pages.
Ideal Use Cases
You should choose DVHA if your project requires:
- Multiple Admin Portals: Projects with different roles (Merchant, Agent, Admin) needing separate menus, themes, or permissions.
- Dynamic Extensions: Scenarios where pages, menus, or forms are delivered via server-side APIs or JSON Schema.
- Reduced Compilation Overhead: When you want to avoid frequent re-compilation/re-bundling for minor configuration changes (e.g., changing a menu item or a remote page).
- UI Flexibility: When you want to choose your own UI library (e.g., Naive UI, Element Plus) rather than being locked into a framework-specific component set.