LoginSignup
1
1

More than 3 years have passed since last update.

Laravel6.0 新規インストールから認証関連できるまでの手順

Posted at

# デモプロジェクト作成
composer global require laravel/installer

# セッションキー作成
php artisan key:generate

# DB接続周り情報変更
.env 変更

#laravel/uiパッケージインストール
composer require laravel/ui

#Generate basic scaffolding
php artisan ui vue

#Generate login / registration scaffolding
php artisan ui vue --auth

# Laravel Mixインストール & Run all Mix tasks ※app.css app.js作成
npm install && npm run dev

# ログイン関連DBテーブル作成
php artisan migrate

#テストサーバー起動
php artisan serve --port=8080

1
1
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
1
1