This is a simple project that illustrates the new "Auth" command on a Laravel 6 clean installation. It can be resumed in the next steps:
- Create a project folder (pe. my_project).
- Assuming you have composer installed (if not, please follow this instructions.
- Let´s execute Laravel installation via composer command:
composer install --prefer-dist laravel/laravel my_project "6.*"
-
Assuming you have npm installed (if not, please follow this instructions.
-
Let´s install npm dependencies and execute all npm tasks:
npm install
npm run dev
-
After that we´ll be able to execute artisan command:
php artisan ui vue --auth
After executing those steps, laravel auth will be enabled just like 5.* versions.
If you need more information, please follow Laravel official documentation.