工匠命令"make:auth"在Laravel 6中未定义 [英] Artisan command "make:auth" is not defined in Laravel 6
本文介绍了工匠命令"make:auth"在Laravel 6中未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Laravel 6中创建登录/身份验证时遇到问题.我在终端中键入"make:auth",但出现错误"Command" make:auth似乎未定义".有解决方案吗?
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 solution for this?
推荐答案
像L6一样,将Auth脚手架移动到一个单独的位置包.
Looks like L6 moves the Auth scaffolding into a separate package.
https://laravel.com/docs/6.0/authentication
想快速上手吗?安装
laravel/ui
Composer软件包并在一个新的Laravel应用程序中运行php artisan ui vue --auth
.
Want to get started fast? Install the
laravel/ui
Composer package and runphp artisan ui vue --auth
in a fresh Laravel application.
这篇关于工匠命令"make:auth"在Laravel 6中未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文