Skip to content

Folder Structure

Rdmclin2 edited this page Nov 5, 2024 · 1 revision

Directory Structure

The folder directory structure of LobeVidol is as follows:

src
β”œβ”€β”€ app        # Code related to the main application logic and state management
β”œβ”€β”€ components # Reusable UI components
β”œβ”€β”€ constants  # Definitions for constants, such as action types, route names, etc.
β”œβ”€β”€ features   # Functional modules related to business features, such as Agent settings, plugin development pop-ups, and other reusable modules with business logic
β”œβ”€β”€ hooks      # Custom utility hooks reused throughout the application
β”œβ”€β”€ layout     # Layout components for the application, such as navigation bars, sidebars, etc.
β”œβ”€β”€ locales    # Internationalization language files
β”œβ”€β”€ lib        # General utility libraries, such as plugins, VMD animation implementations, etc.
β”œβ”€β”€ panels     # Panel components for display
β”œβ”€β”€ services   # Encapsulated backend service interfaces, such as HTTP requests
β”œβ”€β”€ store      # Zustand store for state management
β”œβ”€β”€ styles     # Global style files
β”œβ”€β”€ types      # TypeScript type definition files
└── utils      # General utility functions