Answers for "npm run start react specific port"

17

set port in react app

//in package.json

"start": "react-scripts start"
t0
//linux
"start": "PORT=3006 react-scripts start"
or 
"start": "export PORT=3006 react-scripts start"
//windows
"start": "set PORT=3006 && react-scripts start"
Posted by: Guest on September-25-2020
0

react native npm run start port

"scripts": {    "start": "react-native start --port 9988"}
Posted by: Guest on November-03-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language