a Click: **Load Example Plugin** You should see plugin.example.php load inside the SPA. --- ## 6. Debug Console Click: **Trigger Debug Log** You should see messages appear in `.app-debug`. --- ## 7. Error Panel Click: **Trigger Error Panel** You should see a red alert appear. EOF ######################################## # readme.overview.md ######################################## cat > "$DOCSDIR/readme.overview.md" << 'EOF' # Overview — MyApp SPA Platform MyApp is a modular AdminLTE-based Single Page Application framework designed for: - Rapid development - Modular plugin architecture - Markdown documentation - Theme switching - SPA navigation - Prefetch-on-hover - SPA caching - Debug/error panels - Version tagging --- ## Architecture Summary ### Layout - app.main.php — SPA shell - navbar.php — top navigation - sidebar.php — left navigation - main.php — default view - footer.php — footer ### SPA Engine - util.js — loader, spinner, error, debug - listener.js — router + prefetch - theme.js — theme switching - cache.js — SPA caching - debug.js — debug console ### Systems - Markdown Viewer - Theme UI - Plugin System ### Manifests - manifest.json — routes + menus - version.json — version tagging - themes.json — theme registry --- ## Key Features - AdminLTE UI - SPA navigation - Prefetch-on-hover - History API - Markdown rendering - Theme switching - Plugin architecture - Debug console - Error logging - Version tagging --- ## Directory Structure