# RomM Frontend Architecture A map of the RomM frontend (`frontend/`): a Vue 3 single-page app that talks to the backend over `/api/*` (REST) and `/ws` (Socket.IO). This document says where things live and how they fit together. The detailed rules for writing UI code live in the skills under `.claude/skills/` (`frontend-components`, `frontend-theming`, `frontend-input`, `frontend-patterns`, `frontend-i18n`), and commands are in `frontend/AGENTS.md`. ## Contents 1. [Stack](#1-stack) 2. [Layers and directories](#2-layers-and-directories) 3. [Startup](#3-startup) 4. [Routing](#4-routing) 5. [State: Pinia stores](#5-state-pinia-stores) 6. [API, caching and real time](#6-api-caching-and-real-time) 7. [Components](#7-components) 8. [Styling and theming](#8-styling-and-theming) 9. [Input and responsive layout](#9-input-and-responsive-layout) 10. [Players](#10-players) 11. [Internationalization](#11-internationalization) 12. [Types](#12-types) 13. [Build, test and tooling](#13-build-test-and-tooling) --- ## 1. Stack | Concern | Choice | | --------- | ------------------------------------------------------------------------------------------------- | | Framework | Vue 3 (`