Artisan command “make:auth” is not defined in Laravel 6

后端 未结 9 1216
长发绾君心
长发绾君心 2020-12-01 12:37

I have a problem when creating login/auth in Laravel 6. I typed \"make: auth\" in the terminal and I get an error \"Command\" make: auth \"appears not defined.\" Is there a

9条回答
  •  再見小時候
    2020-12-01 13:04

    you can copy the composer.json file and the app/Exceptions/Handler.php files from the official laravel 7 repo. link to repo: https://github.com/laravel/laravel

    Then run

    composer update
    
    composer  require laravel/ui "^2.0"
    
    php artisan ui vue --auth
    

提交回复
热议问题