Search code examples
laravellaravel-livewirelaravel-jetstream

Where is the file of LOGIN model in Laravel 8, Jetstream


I need to edit the login model in laravel 8 and Jetstream-Livewire. My question is where is the file of Login Model can be located in Larvel 8, Jetstream-Livewire.


Solution

  • Modify the Login view

    Go to resources/views/auth/login.blade.php and modify to this.

    If you are using the Livewire stack, you should first publish the Livewire stack's Blade components:

    php artisan vendor:publish --tag=jetstream-views
    

    Next, you should customize the Models located in the

    resources/views/vendor/jetstream/components/dialog-modal.blade.php
    

    Note: No models available for login in jetstream as default. But jestream has dialog model and confirmation models. Using that you can create your own registration and login models.