mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 23:08:04 -05:00
refactor(vite config) & doc (main readme) : Start Frontend with just "npm start" (#333)
* frontend : added vite --port 3001 | package.json "start" script : added "vite --port 3001" to frontend package.json Just use npm start ; uses port 3001 * Updated installation section for frontend | README.md With the addition of "start": "vite --port 3001" to the frontend's package.json, simply use "npm start" to initiate the frontend development environment. * -modify vite config port to 3001 -Revert "frontend : added vite --port 3001 | package.json"
This commit is contained in:
@@ -42,7 +42,7 @@ Then in a second terminal:
|
|||||||
```bash
|
```bash
|
||||||
cd frontend
|
cd frontend
|
||||||
npm install
|
npm install
|
||||||
npm run start -- --port 3001
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
You'll see OpenDevin running at localhost:3001
|
You'll see OpenDevin running at localhost:3001
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ export default defineConfig({
|
|||||||
plugins: [react(), viteTsconfigPaths()],
|
plugins: [react(), viteTsconfigPaths()],
|
||||||
server: {
|
server: {
|
||||||
// this sets a default port to 3000
|
// this sets a default port to 3000
|
||||||
port: 3000,
|
port: 3001,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user