replace Start prerender with Vite SPA
This commit is contained in:
@ -41,10 +41,9 @@ progress, so upload UIs stay indeterminate.
|
||||
|
||||
## Deploy
|
||||
|
||||
The app is a client-rendered SPA served as static assets by a Cloudflare Worker
|
||||
(`wrangler.jsonc`, `not_found_handling: single-page-application`). The build
|
||||
emits `dist/client/_shell.html`, which is copied to `index.html` so Cloudflare's SPA
|
||||
fallback returns it for every client route.
|
||||
The app is a client-rendered Vite SPA served as static assets by a Cloudflare
|
||||
Worker (`wrangler.jsonc`, `not_found_handling: single-page-application`).
|
||||
Cloudflare returns `dist/index.html` for every client route.
|
||||
|
||||
**Manual deploy** (needs `wrangler login` or `CLOUDFLARE_API_TOKEN` /
|
||||
`CLOUDFLARE_ACCOUNT_ID` in your env):
|
||||
|
||||
Reference in New Issue
Block a user