我想为我正在开发的应用程序获取一个代码框。如何使项目与名为 backend 和 frontend 的两个不同子文件夹一起工作?怎么可能呢?我正在为您发送我的packages.json
文件内容:
{
"name": "projeto_aplicado",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"concurrently": "^6.2.0"
},
"devDependencies": {},
"scripts": {
"server": "npm run server --prefix backend",
"start": "concurrently \"npm run server\" \"npm run client\" ",
"client": "npm start --prefix frontend"
},
"author": "",
"license": "ISC"
}
我还发送了我的网络应用程序的链接:https ://codesandbox.io/s/blissful-fire-jjnl5?file=/package.json:0-393