C++ SCHX ยท rev 4

๐Ÿ“ 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

๐Ÿ“Œ CPGH Project Structure

๐Ÿ“„ Required CPGH Files

๐Ÿ“ Optional CPGH Files

๐Ÿ’ก CPGH Structure Tips