laravel-frontend-presets / inertiajs
A Laravel frontend preset to get you up and running with Inertia.js
Installs: 4 460
Dependents: 0
Suggesters: 0
Security: 0
Stars: 145
Watchers: 12
Forks: 16
Open Issues: 0
Requires
- inertiajs/inertia-laravel: ^0.2
- laravel/ui: ^2.0
Requires (Dev)
- orchestra/testbench: ^3.8
This package is auto-updated.
Last update: 2024-10-23 10:40:22 UTC
README
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.
This preset scaffolding removes the manual steps required to get up and running with Inertia.js.
Usage
- Fresh install Laravel >= 7.0 and cd to your app.
- 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
- Use
php artisan ui inertiajs
to install the scaffolding npm install && npm run dev
php artisan serve
(or equivalent) to run server and test preset.
More
Learn more about Inertia.js from @reinink's introductory blog post.