Installation
Requirements
Section titled “Requirements”| Requirement | Version / Details |
|---|---|
| PHP | >= 8.4 |
| ProcessWire | >= 3.0.271 |
| Required Module | Inertia (trk/processwire-inertia, which requires Vite) |
| Optional Module | InterventionImage (trk/processwire-intervention-image) for automatic image color palettes and LQIP blur placeholders in Media Studio |
Installation Steps
Section titled “Installation Steps”-
Require the package from your project root:
Terminal window composer require trk/processwire-react -
Refresh and install
React(and optionallyProcessReactWorkspace):Terminal window php vendor/bin/wire module:refreshphp vendor/bin/wire module:install Reactphp vendor/bin/wire module:install ProcessReactWorkspace
- Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
React), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate React under the Site tab, and click Install.
- Optionally install ProcessReactWorkspace under Modules -> Site for the unified Admin -> Workspace Bento dashboard and UI Showcase.
- Download and extract the release archive into
site/modules/React/. - Open Modules -> Refresh in the ProcessWire admin (or run
php vendor/bin/wire module:refresh). - Click Install next to React (and optionally ProcessReactWorkspace) under Modules -> Site.
Installing React automatically installs all 15 companion modules (MarkupReactTable, MarkupReactCards, MarkupReactTab, InputfieldReactKeyValue, InputfieldReactCondition, InputfieldReactLink, InputfieldReactIcon, InputfieldReactM2O, InputfieldReactM2M, InputfieldReactO2M, InputfieldReactM2A, InputfieldReactFile, InputfieldReactImage, InputfieldTiptap, and TextformatterTiptapMiniBlocks). Open Modules -> Configure -> React to choose your default theme mode, preset, keyboard shortcut behavior, global React Media toggle, and Admin Vector Icons settings.