10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Laravel6.0から"make:auth"が使えない

Posted at

1.趣旨

Laravel6.0から"make:auth"が使えません。。
"make:auth"に変わる手順を記載しました。

Command "make:auth" is not defined.  
                                       
  Did you mean one of these?           
      make:cast                        
      make:channel                     
      make:command                     
      make:component                   
      make:controller                  
      make:event         

2.手順

以下のコマンドを順番に実行します。

# composer require laravel/ui --dev
Using version ^2.1 for laravel/ui
./composer.json has been updated
# php artisan ui vue --auth
Vue scaffolding installed successfully.
Please run "npm install && npm run dev" to compile your fresh scaffolding.
# npm install && npm run dev

必要であれば、マイグレーションしましょう。

# php artisan migrate
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table (0.1 seconds)
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated:  2014_10_12_100000_create_password_resets_table (0.07 seconds)
Migrating: 2019_08_19_000000_create_failed_jobs_table
Migrated:  2019_08_19_000000_create_failed_jobs_table (0.04 seconds)
Migrating: 2020_07_05_105521_create_connects_table
Migrated:  2020_07_05_105521_create_connects_table (0.04 seconds)

認証が出てきました!
スクリーンショット 2020-07-23 18.00.16.png

10
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?