Docs
Practical reference for building eddev WordPress themes with React, TypeScript, and GraphQL.
eddev keeps WordPress in charge of routing and content, then uses GraphQL files to select data for React views, blocks, and runtime hooks. Use these docs as the day-to-day reference for building and shipping ED sites.
Getting Started
Set up Local, WP Engine, Vercel, and the baseline theme workflow.
How The Stack Works
Understand the WordPress, PHP, React, TypeScript, and GraphQL pieces.
Views
Build route templates with defineView and paired view queries.
Blocks
Build Gutenberg blocks with metadata, ACF fields, and block queries.
ACF
Add custom field types, typed enum fields, and admin widgets.
GraphQL
Work with view data, block data, fragments, generated types, and query hooks.
Serverless
Deploy SSR sites and add server routes for app-like features.
Common Starting Points
| If You Need To... | Start Here |
|---|---|
| Get a new site running | Getting Started |
| Understand the request flow | How It Works |
| Add or edit page templates | Views |
| Add editable content blocks | Blocks |
| Create custom ACF fields | ACF |
| Fetch WordPress data | GraphQL |
| Find copy-paste recipes | Snippets |