修改react项目的默认端口

"scripts": {
    "start": "** ⭐set PORT=9000 &&⭐**react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

在package.json 里面添加想要修改的端口

上一篇:database backup scripts


下一篇:Linux中cd命令的用法