Y
Y
yoloParhosha2021-03-18 00:30:22
Software Deployment
yoloParhosha, 2021-03-18 00:30:22

React & Laravel prod/build?

In our project, we use Laravel and React, but this is my first commercial project, and I don't fully understand how to properly build/prod the project before sending it to the server. On the server, it takes about 50-60 seconds before the first component appears/loads, and I want to solve this problem. I need advice on how to reduce the first load time and the steps I need to take before deploying a project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ostiwe, 2021-05-06
@ostiwe

Alternatively, you can build a React project (yarn build || npm build).
Throw the assembled project on the server and give the collected index.html to all public routes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question