chore: make dev server all use different ports
This commit is contained in:
parent
582e4ec5f9
commit
9a46123925
2 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,9 @@ A monorepo ([Turborepo](https://turbo.build)) of my websites for blogging, portf
|
||||||
```
|
```
|
||||||
4. Run whatever command you need
|
4. Run whatever command you need
|
||||||
- `pnpm build` - Build all apps and packages
|
- `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 dev` - Run all apps and packages locally
|
||||||
- `pnpm lint` - Lint all apps and packages
|
- `pnpm lint` - Lint all apps and packages
|
||||||
- `pnpm clean` - Remove all auto-generated content such as `node_modules` and `dist`.
|
- `pnpm clean` - Remove all auto-generated content such as `node_modules` and `dist`.
|
||||||
|
|
|
@ -10,4 +10,7 @@ export default defineConfig({
|
||||||
build: {
|
build: {
|
||||||
outDir: "dist",
|
outDir: "dist",
|
||||||
},
|
},
|
||||||
|
server: {
|
||||||
|
port: 5174,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue