PHP code example of madeitbelgium / jetstrap
1. Go to this page and download the library: Download madeitbelgium/jetstrap library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once ('vendor/autoload.php' );
madeitbelgium / jetstrap example snippets
namespace App \Providers ;
use Illuminate \Support \ServiceProvider ;
use Illuminate \Pagination \Paginator ;
class AppServiceProvider extends ServiceProvider
{
public function register ()
{
}
public function boot ()
{
Paginator::useBootstrap();
}
}
namespace App \Providers ;
use Illuminate \Support \ServiceProvider ;
use MadeITBelgium \Jetstrap \JetstrapFacade ;
class AppServiceProvider extends ServiceProvider
{
public function register ()
{
}
public function boot ()
{
JetstrapFacade::useCoreUi3();
}
}
namespace App \Providers ;
use Illuminate \Support \ServiceProvider ;
use MadeITBelgium \Jetstrap \JetstrapFacade ;
class AppServiceProvider extends ServiceProvider
{
public function register ()
{
}
public function boot ()
{
JetstrapFacade::useAdminLte3();
}
}
php artisan jetstream:install livewire --teams
php artisan jetstream:install inertia --teams
bash
php artisan jetstrap:swap livewire
or
php artisan jetstrap:swap livewire --teams
php artisan jetstrap:swap inertia --teams
npm install && npm run dev
php artisan migrate
bash
php artisan jetstrap:swap breeze
bash
php artisan jetstrap:swap breeze-inertia