Paratron / hookrouter

The flexible, and fast router for react that is entirely based on hooks
1.5k stars 90 forks source link

Build app showing blank page on server #129

Open Mrbeyond opened 4 years ago

Mrbeyond commented 4 years ago

My app is display blank page when after build and tested on the server. The same thing happened when I tested it on my local xampp. React gave the instruction to create .htaccess file and put the script below in it if the app is to be run the apache server of which both my remote server runs on apache too.

/ script inside the .htaccess is shown below/

Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.html [QSA,L]

I really need help with this. Looking forward to having a solution soon. Thanks