What problem does it solve?
This Skill addresses the complexity of managing Single Page Application (SPA) routing within LobeHub, ensuring consistency and efficiency in routing configurations.
Core Features & Use Cases
- SPA Routing Configuration: Manages the entry points and router configurations for LobeHub's SPA.
- Agent Constraint Compliance: Ensures desktop router parity for Electron builds.
- File Organization: Defines where to place layout, page entries, and domain-specific logic for optimal code maintainability.
- Use Case: When adding a new route or segment in LobeHub, this Skill guides you on the correct file structure and best practices for maintaining a clean and efficient codebase.
Quick Start
To add a new route, navigate to src/routes/(main)/ and create the necessary segment files following the guidelines provided by the spa-routes Skill.