Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
/ inertia-preact Public archive

The Preact adapter for Inertia.js.

License

Notifications You must be signed in to change notification settings

jrson83/inertia-preact

Repository files navigation

Inertia.js Preact Adapter

The Preact adapter for Inertia.js.

This is a port of the original Inertia.js React Adapter.

Installation

Install the adapter as npm module:

npm install @jrson83/inertia-preact -D

Preset

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.

Ping CRM Demo

A live demo of the app & SSR is available at https://pingcrm-preact.jrson.de/.

Ping CRM Repository

The Ping CRM Preact repository is available at https://github.com/jrson83/pingcrm-preact.