Created
September 15, 2023 18:53
-
-
Save Mahendran-Balaji/504482e2e05f5069fe61b3155002c7b5 to your computer and use it in GitHub Desktop.
Laravel Inertia is a templating language and Inertia is working with vue js.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Install Laravel | |
composer create-project --prefer-dist laravel/laravel laravel_jetstream | |
2) Install Jetstream: | |
composer require laravel/jetstream | |
3) Create Auth with Inertia: | |
php artisan jetstream:install inertia | |
4) Now, let's node js package: | |
npm install | |
5) let's run package: | |
npm run dev | |
6) now, we need to run migration command to create database table: | |
php artisan migrate | |
7) Laravel Jetstream provides new all feature are configurable. you can see there is a configuration file fortify.php and jetstream.php file where you can enable and disable option for that feature: | |
config/fortify.php | |
.... | |
'features' => [ | |
Features::registration(), | |
Features::resetPasswords(), | |
Features::emailVerification(), | |
Features::updateProfileInformation(), | |
Features::updatePasswords(), | |
Features::twoFactorAuthentication(), | |
], | |
... | |
8) config/jetstream.php | |
.... | |
'features' => [ | |
Features::profilePhotos(), | |
Features::api(), | |
Features::teams(), | |
], | |
... | |
9) Now you can run your application by bellow command: | |
php artisan serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment