Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrson83/inertia-preact
The Preact adapter for Inertia.js.
https://github.com/jrson83/inertia-preact
inertia inertiajs inertiajs-adapter laravel preact preactjs ssr
Last synced: about 1 month ago
JSON representation
The Preact adapter for Inertia.js.
- Host: GitHub
- URL: https://github.com/jrson83/inertia-preact
- Owner: jrson83
- License: mit
- Archived: true
- Created: 2022-01-21T22:50:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T08:38:55.000Z (almost 2 years ago)
- Last Synced: 2024-09-20T06:30:32.327Z (about 2 months ago)
- Topics: inertia, inertiajs, inertiajs-adapter, laravel, preact, preactjs, ssr
- Language: JavaScript
- Homepage: https://inertiajs.com
- Size: 54.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-inertiajs - Preact
README
# Inertia.js Preact Adapter
The [Preact](https://preactjs.com/) adapter for
[Inertia.js](https://inertiajs.com).> This is a port of the original
> [Inertia.js React Adapter](https://github.com/inertiajs/inertia).## Installation
Install the adapter as npm module:
```bash
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.```bash
npx @preset/cli apply jrson83/inertia-preact-preset
```This preset installs [Inertia.js](https://inertiajs.com)
with [Preact](https://preactjs.com/),
[TypeScript](https://www.typescriptlang.org/),
[Vite](https://vitejs.dev) and
[SSR](https://inertiajs.com/server-side-rendering) in a
fresh Laravel application.More information on the options on the
[repository](https://github.com/jrson83/inertia-preact-preset).More information on the adapter can be found on my blog
[jrson.me](https://jrson.me).## Ping CRM Demo
A live demo of the app & SSR is available at
[https://pingcrm-preact.jrson.de/](https://pingcrm-preact.jrson.de/).## Ping CRM Repository
The Ping CRM Preact repository is available at
[https://github.com/jrson83/pingcrm-preact](https://github.com/jrson83/pingcrm-preact).