teamzac / laravel-tailnertiavue-preset
A Laravel preset for TailwindCSS/Inertiajs/Vue
Requires
- php: ^7.1
- illuminate/support: ~5.8.0 || ^6.0
- inertiajs/inertia-laravel: ^0.1
- tightenco/ziggy: ^0.8
Requires (Dev)
- orchestra/testbench: 3.8.*
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-01-29 06:58:59 UTC
README
There is a quasi-official Inertia.js preset available here. We've taken several cues from the PingCRM demo, but have decided to structure some things a little differently. This preset is designed around the way that we architect our apps, so it may not work for you. If not, feel free to not use it.
Installation
You can install the package via composer:
composer require teamzac/laravel-tailnertiavue-preset
Usage
php artisan preset tailnertiavue
An InertiaServiceProvider
class will be included in your app\Providers
directory, which is where we set up Inertia and add any shared data. If you'd like to use this, make sure to add it to the providers array in your config/app.php
.
Then run npm install
and npm run dev
to install dependencies and compile your assets.
There is currently a weird issue where you'll need to manually run npm install --save-dev @inertiajs/inertia @inertiajs/inertia-vue
because if npm squaks about being unable to resolve the dependencies.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email chad@zactax.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.