0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Laravel Jetstream

Posted at

Laravel Jetstreamの使い方

Jetstreamとは

  • ログイン・登録機能以外にも2段階認証、ブラウザセッション管理、APIトークン管理、チーム管理機能があるスターターキット

導入方法
前提:Laravelプロジェクトがすでに作成済み、Docker環境

  1. Jetstreamのインストール
    composer require laravel/jetstream
     
  2. セットアップコマンドの実行
    php artisan jetstream:install livewire --teams
    --teamsをつけるとチーム機能が有効化される
     
  3. 環境依存パッケージのインストール
    npm install
     
  4. フロントエンドアセットのコンバイル
    npm run dev
     
  5. マイグレーションの実行
    docker compose exec app php artisan migrate
     
  6. サーバーの起動
    php artisan serve
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?