WP Manifestindependent plugin directory
manifest / integrations / inertia-wordpress

BoxyBird Inertia Adapter

The WordPress adapter for Inertia.js.

by Andrew Rhyand · github.com/boxybird/inertia-wordpress · website

182stars
8.4kcomposer installs
25forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/boxybird/inertia-wordpress/archive/refs/heads/master.zip

Also on Packagist as boxybird/inertia-wordpress:

composer require boxybird/inertia-wordpress

From the readme

Inertia.js WordPress Adapter The unofficial Inertia.js server-side adapter for WordPress. Installation Option 1: Install the package via composer. (Recommended) Option 2: Clone or download as a plugin and run composer install before activating in WordPress Admin. Bare-bones Example Theme - https://github.com/boxybird/wordpress-inertia-starter-theme Example Movie CPT WordPress Project - Demo: https://wp-inertia.andrewrhyand.com - Theme: https://github.com/boxybird/wordpress-inertia-demo-theme Inertia Docs - Links: https://inertiajs.com/links - Pages: https://inertiajs.com/pages - Requests: https://inertiajs.com/requests - Shared Data: https://inertiajs.com/shared-data - Asset Versioning: https://inertiajs.com/asset-versioning - Partial Reloads: https://inertiajs.com/partial-reloads Root Template Example Location: /wp-content/themes/your-theme/app.php Root Template File Override Location: /wp-content/themes/your-theme/functions.php By default the WordPress adapter will use the app.php from .../your-theme/app.php. If you would like to use a different file name, you can change it. E.g. .../your-theme/layout.php. Inertia Function Output Override By default the bbinjecti

Read the full README on GitHub →