How can I run Create-react-app from a dynamic index page in development mode

  create-react-app, javascript, laravel, php, reactjs

I want to use create-react-app in my new project. Specifically I want to use it with in conjunction with a Laravel blade view (php index file).

From my research so far it seems that development mode, when you run npm start will only work with a static html file instead of my dynamic index file and being run from http://localhost:3000/.

Does anyone know of a way of getting around this so i can run my app on a different url and that points to a server side rendered index page and still enjoy hot reloading.

Thanks for the help.

Source: Laravel

Leave a Reply