Laravel 10 Vue JS Auth Scaffolding with Vite Tutorial

Laravel 10, UI package for the easy step of auth scaffolding. Laravel UI provides simple authentication features including login, registration, password reset, email verification, and password confirmation using bootstrap, react and vue.

Step 1: Install Laravel App

composer create-project laravel/laravel example-BootstrapAuth

Install Laravel UI

composer require laravel/ui

Next you have to install laravel ui package command for creating auth scaffolding using vue. so let's run bellow command:

php artisan ui vue   
 OR
php artisan ui vue --auth 

Now let's run bellow command for install npm:

npm install && npm run dev

Next run migration command:

php artisan migrate

Run Laravel App:

php artisan serve

Now, Go to web browser, type the given URL and see the output:

http://localhost:8000

Now you can see output with login and register button in home page. Thank You