0

I am trying to setup an existing laravel project in my localhost. I am using Linux Mint along with Valet Linux 2.0

Valet linux works fine as I am able to setup new laravel project which works fine. But now I am trying to setup an existing laravel project. Project is running, all links are working. But none of the static files like js, css, images are loading. I am getting 500 status code for all static files. Not able to understand what is going wrong, I have checked .htaccess also.

I will be thankful if anyone can help.

1 Answers1

0

I was having the same issue with Valet.

Try to move your static files from root folder to public folder. This fix worked for me.

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Aug 08 '22 at 03:29