Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laravel-frontend-presets/inertiajs

An Inertia.js frontend preset for the Laravel Framework
https://github.com/laravel-frontend-presets/inertiajs

Last synced: 2 days ago
JSON representation

An Inertia.js frontend preset for the Laravel Framework

Awesome Lists containing this project

README

        

# Laravel Frontend preset for Inertia.js

> **Note:** The Inertia.js project is in the very early stages of development and IS NOT yet intended for public consumption.
> As such, the state of this preset is in flux and may change significantly to accommodate changes in Inertia.js.

A Laravel front-end scaffolding preset for [Inertia.js](https://github.com/inertiajs/inertia).

This preset scaffolding removes the manual steps required to get up and running with Inertia.js.

## Usage

1. Fresh install Laravel >= 7.0 and cd to your app.
2. Install this preset via `composer require --dev laravel-frontend-presets/inertiajs`. Laravel will automatically discover this package. No need to register the service provider.

### Installation

1. Use `php artisan ui inertiajs` to install the scaffolding
2. `npm install && npm run dev`
3. `php artisan serve` (or equivalent) to run server and test preset.

## More

Learn more about Inertia.js from [@reinink](https://twitter.com/reinink)'s [introductory blog post](https://reinink.ca/articles/introducing-inertia-js).