Upload and Extract build
-
Create zip of all files and folders inside
dist
folder. -
In your cpanel, go to file manager and navigate to
public
folder of your laravel project then create new folder namedreact
. -
Upload this zip file to your cpanel file manager inside
public/react
folder. -
After uploading, extract this zip file to
public/react
folder. -
To access your website, you have to edit your laravel route file.