October 26, 2024
Chicago 12, Melborne City, USA
PHP

Separating laravel and react


I have a project repository containing both laravel and react. Now, I want to put react frontend in a separate directory to avoid complexities but I am going through different errors. Because, This is my first project in which I have integrated laravel with react. So, I don’t know, how to separate them?
I have attached the screenshot in which I am facing the error after running both "npm run dev" and "php artisan serve". While before separation it was executing correctly

Separating both fronend and backend and experiencing errors



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video