Replies: 2 comments
|
I can't answer your question regarding vp, but I might have a solution for your issue. |
|
Yes, but I would model it through
// packages/web/package.json
{ "scripts": { "dev": "vp dev" } }
// packages/api/package.json
{ "scripts": { "dev": "tsx watch src/server.ts" } }Then run both from the workspace root with Vite Task: vp run -r --parallel --filter @repo/web --filter @repo/api devIf you define them under Relevant docs: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, does vite-plus support (or plan to support) monorepos that include a Vite app for frontend and an Express app for backend? So I would assume
vp devwould internally runvitefor frontend and something likenode --watch/tsx watch/nodemon/ts-node-dev/etc. for backend.All reactions