๐ CPGH Project Structure
Learn how to structure a CPGH project with the .CPGH/STU/ directory and configuration files.
{`my-cpgh-project/ โโโ .CPGH/ โ โโโ STU/ # Required CPGH structure โ โโโ _CPGH.Protcol # Protocol definitions โ โโโ Docs/ # Generated documentation โ โ โโโ _Index.Page โ โโโ F/ # Page files โ โ โโโ _Imports.Page # Module imports โ โ โโโ _Landing.Page # Landing page โ โ โโโ _Main.Page # Main dashboard โ โ โโโ _Router.Page # Route definitions โ โ โโโ _Optional-Files/ # Optional page files โ โโโ DB/ # Database files (auto-created) โ โโโ Config.json # CPGH configuration โโโ TWT.Config # TWT styling (optional)`} ๐ Required CPGH Files _CPGH.Protcol Protocol definitions and CPGH version
Route definitions, methods, auth, fallbacks
Module, component, style, and behavior imports
Main application page with sections and data
CPGH runtime configuration
TWT styling configuration (optional)
Custom page files (e.g., About.Page, Contact.Page)
Auto-created database directory