From 9a46123925f15cb69e4283db60890a722f424ed3 Mon Sep 17 00:00:00 2001 From: developomp Date: Thu, 29 Jun 2023 14:19:50 +0900 Subject: [PATCH] chore: make dev server all use different ports --- README.md | 3 +++ apps/portfolio/vite.config.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 3c4fb66..131a805 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ A monorepo ([Turborepo](https://turbo.build)) of my websites for blogging, portf ``` 4. Run whatever command you need - `pnpm build` - Build all apps and packages + - blog: http://localhost:3000 + - main: http://localhost:5173 + - portfolio: http://localhost:5174 - `pnpm dev` - Run all apps and packages locally - `pnpm lint` - Lint all apps and packages - `pnpm clean` - Remove all auto-generated content such as `node_modules` and `dist`. diff --git a/apps/portfolio/vite.config.ts b/apps/portfolio/vite.config.ts index 729ca23..83d8f70 100644 --- a/apps/portfolio/vite.config.ts +++ b/apps/portfolio/vite.config.ts @@ -10,4 +10,7 @@ export default defineConfig({ build: { outDir: "dist", }, + server: { + port: 5174, + }, })