In this article we will se how to install Jetstream in Laravel 10. We will guide you step by step to install Jetstream in Laravel. As we know Laravel is open source platform to develop of web application and Rest API. Laravel provide us a lot of packages. One of the most used package is Jetstream with livewire and inertia. This package provide us Authentication and more features. This package provide login and registration pages which are designed using Tailwind CSS.
Steps for how to install Jetstream in Laravel
Firstly we need a Laravel fresh project. For creating a new project run the given command to create a project.
Composer create-project Laravel/Laravel InstallJet
Laravel new InstallJet
Next we need to install Jetstream, run the given command.
composer require laravel/Jetstream
Then next run the command to install
php artisan jetstream:install livewire
php artisan jetstream:install livewire --teams
If you want install Jetstream with inertia run the given command to perform action.
php artisan jetstream:install inertia
php artisan jetstream:install inertia –teams
If you want dark mode then run this command
php artisan jetstream:install livewire –dark
After the run the given command to install NPM dependencies.
Npm install Npm run build Php artisan migrate
Hello World! https://apel.top/go/gu4winrshe5dgoju?hs=a07c59722b07f5adeaf6b1c3e588ac10& Mar 24th 2023