I made a simple React app in Visual Studio Code and want to host it on a website which I am using surge.sh. When I deployed the app and head to the site, it just shows a blank page although the deployment was successful when I deploy it in my terminal.
Here are my steps that I did:
- cd to root directory of my project
- run
npm run build
- cd build
- run
surge
command - provide {domain name}.surge.sh
I am new to using surge.sh. What might I have done wrong?