diff --git a/apps/wing/project-templates/wing/react-vite/package.json b/apps/wing/project-templates/wing/react-vite/package.json index c3f0f57a50b..8892b2dd0b4 100644 --- a/apps/wing/project-templates/wing/react-vite/package.json +++ b/apps/wing/project-templates/wing/react-vite/package.json @@ -5,8 +5,8 @@ "author": "Your Name", "license": "MIT", "scripts": { - "install:backend": "cd backend && npm install", - "install:frontend": "cd frontend && npm install", + "install:backend": "npm install --prefix backend", + "install:frontend": "npm install --prefix frontend", "postinstall": "npm run install:backend && npm run install:frontend" }, "dependencies": {