Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 10 and jetstream 3 upgrade #12

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

manelgavalda
Copy link

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:

  1. Component Location Update: The Jetstream components, previously located at resources/views/vendor/jetstream/components, have been moved to resources/views/components.

  2. Mail View Migration: The Jetstream mail views, previously stored in resources/views/vendor/jetstream/mail, have been moved to resources/views/emails. The directory name has changed from mail to emails.

  3. 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à

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant