Hello guy’s how are you? Welcome back on my blog. Today in this blog post, we will do, Laravel 8 AUTH Create User Login Register Pages – Part 1.
Post Working: Guy’s with post we will create Laravel 8 default AUTH user login, register and forgot password pages. In part 2 we will save all the details in database.
Guys if you are new in Laravel 8 the please check below link for Laravel tutorials:
Friends now I proceed onwards and here is the code snippet for Laravel 8 AUTH Create User Login Register Pages – Part 1 and please use this carefully to avoid the mistakes:
1. Guy’s we need to run the below commands into our terminal to setup Laravel project. Guy’s we must have latest composer version installed on our machine:
composer create-project laravel/laravel laravel8dummy cd laravel8dummy composer install php artisan key:generate php artisan serve
2. Now guy’s we need to do below two steps to solve the style and js issue for AUTH pages:
a) Create `css` and `js` folders inside laravel8dummy/public folder.
b) Create `app.css` file inside laravel8dummy/public/css folder and `app.js` file inside laravel8dummy/public/js folder.
3. Now guy’s we need to run below commands get AUTH pages:
composer require laravel/ui php artisan ui vue --auth npm install php artisan cache:clear npm run dev php artisan serve
Now guy’s we are done with default AUTH pages and next part we will do the database part in which we will save and get user details.
Guy’s if you have any kind of query then please do comment below.
Recent Comments