Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

217
Vistas
How can I work with React in a Laravel project?

I started a fresh Laravel project and re-scaffolded it to use React instead of Vue. I have another developer that will be coding the React, but I will be responsible for the Laravel/backend code. I have a few questions. Does React work within blade templates? How do routes in Laravel work if we are using react? Lastly, when I run the start artisan start command, will that also start up React?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You essentially have the main app page for the PHP side (blade), and you can embed the react inside a div within the blade html. The React frontend configures the DOM virtually and then displays it within that div. Keep the frontend separate from the Laravel backend. PHP artisan serve will start the backend up, while you will need npm run watch for the frontend side. Use Laravel to create the backend API in which the React frontend can make calls to the server for its data needs.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda