npm start 修改启动端口不生效解决
Recat、umiJs在启动配置文件package.json中修改默认端口Linux环境 set port=9000 && umi dev 修改端口不生效生效配置如下:"scripts": {"start": "umi dev --port=9000","build": "umi build","test": "umi test",...
·
Recat、umiJs在启动配置文件package.json中修改默认端口
Linux环境 set port=9000 && umi dev 修改端口不生效
生效配置如下:
"scripts": {
"start": "umi dev --port=9000",
"build": "umi build",
"test": "umi test",
"lint": "eslint --ext .js src mock tests",
"precommit": "lint-staged"
}
更多推荐
已为社区贡献2条内容
所有评论(0)