56

GitHub - laravel-frontend-presets/inertiajs: An Inertia.js frontend preset for t...

 5 years ago
source link: https://github.com/laravel-frontend-presets/inertiajs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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.

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

Usage

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

Installation

  1. Use php artisan preset 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's introductory blog post.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK