Laravel 10 and jetstream 3 upgrade
Laravel and Jetstream Version Upgrade (Issue #9)
This pull request aims to upgrade the project's Laravel framework to version 10 and Jetstream to version 3. The upgrade process follows the official Laravel 10 upgrade guide and the Jetstream 3 upgrade guide.
Changes Made
The upgrade primarily involves minor adjustments to the Laravel codebase, and most of the view changes are related to Jetstream updates. The significant view changes include:
-
Component Location Update: The Jetstream components, previously located at
resources/views/vendor/jetstream/components, have been moved toresources/views/components. -
Mail View Migration: The Jetstream mail views, previously stored in
resources/views/vendor/jetstream/mail, have been moved toresources/views/emails. The directory name has changed frommailtoemails. -
Prefix Removal in Views: All references to the
jet-prefix in views have been removed. For instance:-
<x-jet-banner />is now<x-banner /> -
<x-jet-switchable-team :team="$team" component="jet-responsive-nav-link" />is now<x-switchable-team :team="$team" component="responsive-nav-link" /> -
@props(['team', 'component' => 'jet-dropdown-link'])is now@props(['team', 'component' => 'dropdown-link'])
-
Upgrade Resources
For more detailed information about the Laravel upgrade process, please refer to the official Laravel 10 upgrade guide: Laravel 10 Upgrade Guide.
Similarly, for comprehensive guidance on upgrading Jetstream to version 3, consult the Jetstream 3 upgrade guide: Jetstream 3 Upgrade Guide.
I appreciate your review and feedback on these changes. Thank you for your time.
Best regards, Manel Gavaldà