laravel-tailwindcss-admin-dashboard-template icon indicating copy to clipboard operation
laravel-tailwindcss-admin-dashboard-template copied to clipboard

Laravel 10 and jetstream 3 upgrade

Open manelgavalda opened this issue 2 years ago • 0 comments

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à

manelgavalda avatar Aug 22 '23 14:08 manelgavalda