skip to Main Content

I have installed "laravel/jetstream": "^2.9" on "laravel/framework": "^8.75". When I accessed Profile Information page, it doesn’t load necessary information into relevant form fields.Please help me with this isses.Profile Information page

Even I have tried reinstalling Jetstream separately. Problem still exists.

2

Answers


  1. If you open your Console you probably have a console error that livewire is not working properly. Usually the following command is missing at this point

    php artisan livewire:publish --assets
    

    Let me know if this helps

    All the best!

    Login or Signup to reply.
  2. publish livewire config

    php artisan vendor:publish --tag=livewire:config      
    

    verify the path to livewire in configlivewire.php

     'asset_url' => '/../yourpath/public',
     'app_url' => '/../yourpath/public',
    

    inspect the result web page and verify the path for livewire.js file is correct

    <script src="/../yourpath/public/vendor/livewire/livewire.js?id=de3fca26689cb5a39af4" data-turbo-eval="false" data-turbolinks-eval="false" ></script>
    

    i think that you production is not in the root directory ,for me it was in a subfolder so i get this problem
    hope it work for you

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search