0👍
Sessions are not available in laravel api. To use sessions you can define your route in web routes or add \Illuminate\Session\Middleware\StartSession::class
to api’s middlewares in App/Http/Kernel.php
- [Vuejs]-Vuetify breakpoint when printing from mobile
- [Vuejs]-Laravel-Vuex:Update to a record not showing in the database
Source:stackexchange.com