简体   繁体   English

“php artisan ui vue --auth”命令和“php artisan ui:auth”有什么区别

[英]What is the difference between "php artisan ui vue --auth" command and "php artisan ui:auth"

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?我知道两者都会生成身份验证文件夹,但是我应该运行哪一个来使用 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 vue --auth -> 该命令将生成 auth 路由和一个 VueJs 入门模板。

php artisan ui:auth -> The command will generate the auth routes, a HomeController, auth views, and a app.blade.php layout file. php artisan ui:auth -> 该命令将生成 auth 路由、HomeController、auth 视图和 app.blade.php 布局文件。

check out the documentation here- https://medium.com/@agavitalis/php-artisan-make-auth-command-is-not-defined-laravel-6-b51adcc6356d在此处查看文档 - 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. Jetstream 将负责搭建整个身份验证系统! - 这是 laravel 8 版本的文档。

check the documentation here https://laravel.com/docs/8.x/authentication在此处查看文档https://laravel.com/docs/8.x/authentication

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM