SPA Authentication using Laravel 9 Sanctum, Vue 3 and Vite composer install cp .env.example .env php artisan key:generate php artisan migrate npm install npm run dev php artisan serve