What is the difference between running these two commands?
php artisan ui vue --auth
VS:
php artisan ui:auth
I know both make authentication folders but which one should I run for using Laravel 8? And what is the main difference?
php artisan ui vue --auth -> The command will generate the auth routes and a VueJs starter template.
php artisan ui:auth -> The command will generate the auth routes, a HomeController, auth views, and a app.blade.php layout file.
check out the documentation here- https://medium.com/@agavitalis/php-artisan-make-auth-command-is-not-defined-laravel-6-b51adcc6356d
Jetstream will take care of scaffolding your entire authentication system!- this a documentation of laravel 8 version.
check the documentation here https://laravel.com/docs/8.x/authentication