Note: This is an update to the original authors work to bring it in line with Inertia.js 1.0 with Vite and SSR support You will also need to use my fork of the inertia-wordpress adapter (unless they accept my PR)
https://github.com/MattPurland/inertia-wordpress
A bare-bones example theme using Inertia with Vue, and the WordPress Inertia adapter.
Clone this repository into the WordPress themes directory.
cd *your-theme-name*
composer install
npm install
npm run dev
To use the ssr server, you will need to build for production
cd *your-theme-name
npm run build
node build/ssr/ssr.js
https://inertiajs.com/ https://github.com/boxybird/inertia-wordpress https://vuejs.org/