Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

212
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda