February 13, 2021 忘れても良いように手順をメモしておきます。 Laravel6 # 1.CORS 対応 # 「fruitcake / laravel-cors」を使用します。 https://github.com/fruitcake/laravel-cors 上記 GitHub に書いてある、「Installation, Global usage / Configuration」に従って進めれば CORS できるようになります。簡単。 2.JWT 認証対応 # 「tymondesigns / jwt-auth」を使用します。 https://github.com/tymondesigns/jwt-auth 以下の手順に従ってインストール・設定します。 Laravel Installation - jwt-auth https://jwt-auth.readthedocs.