Skip to main content

Upload and Extract build

  1. Create zip of all files and folders inside dist folder.

  2. In your cpanel, go to file manager and navigate to public folder of your laravel project then create new folder named react.

    Create React Build

  3. Upload this zip file to your cpanel file manager inside public/react folder.

  4. After uploading, extract this zip file to public/react folder.

    Extract React Build

  5. To access your website, you have to edit your laravel route file.