A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream and Breeze to Bootstrap 4.
Jetstrap is a lightweight Laravel 8 package designed to enhance the VIEW aspect of the Jetstream / Breeze package integrated into Laravel applications. By focusing on the view side, Jetstrap aims to maintain the handling of Action, Model, Controller, Component, and Action classes by Laravel development teams, without adding complexity.
To install Jetstrap, you can follow these steps:
Install Jetstream into your Laravel project using Composer:
composer require laravel/jetstream
php artisan jetstream:install livewire
Install Jetstrap as a dev dependency using Composer:
composer require laravel/jetstrap --dev
Swap Jetstream resources with Jetstrap by specifying the preferred stack (livewire or inertia) and enabling team support if needed:
php artisan jetstrap:swap livewire
npm install && npm run dev
php artisan migrate
(Optional) Use Bootstrap pagination views by calling the paginator’s useBootstrap method in your AppServiceProvider.
use Illuminate\Pagination\Paginator;
Paginator::useBootstrap();
Jetstrap is a useful Laravel package that seamlessly integrates with Jetstream to provide additional features and compatibility, especially in handling the view side of applications. By following the installation guide and utilizing its features like seamless swapping and Bootstrap compatibility, developers can enhance their Laravel projects efficiently.