Skip to content
/ bootsjet Public

A Laravel 10 package for Jetstream + Livewire to switch from Tailwindcss to Bootstrap.

License

Notifications You must be signed in to change notification settings

m1ge0/bootsjet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootsjet

Total Downloads Latest Stable Version License

Description

Bootsjet is a lightweight laravel 10 package that focuses on the VIEW side of Jetstream package installed in your Laravel application, so when a swap is performed, the Action, MODEL, CONTROLLER, Component and Action classes of your project is still 100% handled by Laravel development team with no added layer of complexity.

Table of Content

Installation

Installing Jetstream

You may use Composer to install Jetstream into your new Laravel project:

composer require laravel/jetstream

If you choose to install Jetstream through Composer, you should run the jetstream:install Artisan command. This command accepts the name of the stack you prefer (livewire or inertia). You are highly encouraged to read through the entire documentation of Livewire or Inertia before beginning your Jetstream project. In addition, you may use the --teams switch to enable team support:

Install Jetstream With Livewire

php artisan jetstream:install livewire 

or

php artisan jetstream:install livewire --teams

Install ui via composer

You need to install the bootstrap scaffolding via comopser.

composer require laravel/ui 

Install bootsrap with laravel/ui

php artisan ui bootstrap 

Install Bootsjet

Use Composer to install Bootsjet into your new Laravel project as dev dependency:

composer require m1ge0/bootsjet --dev

It is important you install and configure Laravel Jetstream before performing a swap.

You are highly encouraged to read through the entire documentation of Jetstream before beginning your Bootsjet project. In addition, you may use the --teams switch to swap team assets just like you would in Jetstream:

php artisan bootsjet:swap 

or

php artisan bootsjet:swap  --teams

This will publish overrides to enable Bootstrap like the good old days!

Finalizing The Installation

After installing Bootsjet and swapping Jetstream resources, remove tailwindCSS and its dependencies if any from your package.json and then install and build your NPM dependencies and migrate your database:

npm install && npm run build

php artisan migrate

License

Bootsjet is open-sourced software licensed under the MIT license.

About

A Laravel 10 package for Jetstream + Livewire to switch from Tailwindcss to Bootstrap.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages