basic monorepo on cloudflare pages - git integration not working as expected?
Hi,
I am using turborepo's Vite preset with 2 vite apps in a monorepo ->
https://github.com/laurentlahmy/turborepo-vite
When I create a git integration in cloudflare pages to this repo, it runs the build scripts for each app and then uploads 53 files as assets, but doesn't serve the actually useful index.html.
- Is this expected?
- Am I supposed to run wrangler deploys in the build scripts of each vite app?
- What's the meaning of cloudflare pages monorepo support ? Is the cloudflare pages git integration not compatible with monorepos?
Thanks!
I am using turborepo's Vite preset with 2 vite apps in a monorepo ->
https://github.com/laurentlahmy/turborepo-vite
When I create a git integration in cloudflare pages to this repo, it runs the build scripts for each app and then uploads 53 files as assets, but doesn't serve the actually useful index.html.
- Is this expected?
- Am I supposed to run wrangler deploys in the build scripts of each vite app?
- What's the meaning of cloudflare pages monorepo support ? Is the cloudflare pages git integration not compatible with monorepos?
Thanks!
GitHub
Contribute to laurentlahmy/turborepo-vite development by creating an account on GitHub.
Cloudflare Docs
While some apps are built from a single repository, Pages also supports apps with more complex setups. A monorepo is a repository that has multiple …

