Before deploying to server, first run the build on localhost only.
1. npm install -g serve
and then run below command to run
2. serve -s build
Your new build will run on port 5000.
Enjoy.
Before deploying to server, first run the build on localhost only.
1. npm install -g serve
and then run below command to run
2. serve -s build
Your new build will run on port 5000.
Enjoy.
Comments
Post a Comment