是否都通过create-react-app进行开发?
我需要在服务器上显示错误反应
"scripts": {
"start": react-scripts start",
"build": react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
},
答案 0 :(得分:1)
我对您的问题感到困惑,但是您是否只需要在命令周围添加引号?
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},