How morpho-org/morpho-lite-apps works
Project type and purpose
• This is a frontend-focused monorepo containing two production React single-page apps (“fallback” and “lite”) plus a shared component library (“uikit”).
• The “fallback” app is a minimal-dependency emergency UI for Morpho vault interactions. The “lite” app is a richer, multi-chain, whitelabel-ready UI. The “uikit” package provides styled components and hooks shared by both apps.
File structure
• Top-level folders:
• apps/fallback – emergency SPA
• apps/lite – full-featured SPA
• packages/uikit – shared React component library
• Each app has:
• public assets (public/) and HTML entry (index.html)
• src/ folder with React components, routing (lite has React Router), hooks, GraphQL layer
• build tooling (vite.config.ts), tsconfig, test configs
• deployment configs (vercel.json for lite, fleek/s3 CI workflows)
• Monorepo tooling: pnpm-workspace.yaml, GitHub Actions workflows for CI, fleek-deploy, s3-deploy.
README for additional insights
• Both apps use React 19, Vite, shadcn UI, wagmi for Web3.
• Lite app adds GraphQL client, React Router, Alchemy-tuned RPCs, Merkl rewards.
• UIKit includes shadcn-based components, hooks for contract events, utilities, and tevm contract types.