The Preact adapter for Inertia.js.
This is a port of the original Inertia.js React Adapter.
Install the adapter as npm module:
npm install @jrson83/inertia-preact -D
The recommended way of installing the adapter is to create a fresh Laravel project and use the preset.
npx @preset/cli apply jrson83/inertia-preact-preset
This preset installs Inertia.js with Preact, TypeScript, Vite and SSR in a fresh Laravel application.
More information on the options on the repository.
More information on the adapter can be found on my blog jrson.me.
A live demo of the app & SSR is available at https://pingcrm-preact.jrson.de/.
The Ping CRM Preact repository is available at https://github.com/jrson83/pingcrm-preact.