Linux or MacOS
1
"start": "PORT=4003 react-scripts start",
或者
1
"start": "export PORT=3006 react-scripts start"
Windows
1
"start": "set PORT=3006 && react-scripts start"
1
"start": "PORT=4003 react-scripts start",
或者
1
"start": "export PORT=3006 react-scripts start"
1
"start": "set PORT=3006 && react-scripts start"
原文链接:https://www.laialex.com/post/react-qi-dong-zi-ding-yi-port-duan-kou-hao-0p5.html
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。