Skip to content

Astro, React Router, TanStack Start, Nuxt and SolidStart

Deploy supported SSR frameworks to Cloudflare Workers without Arkor configuration.

View as Markdown

Next.js is Arkor's recommended framework and the main focus of its TTFB improvements. Its Partial Prerendering, ISR and Cache Components integration can serve cached content before dynamic rendering finishes. The frameworks below use their native Cloudflare Worker output for SSR and native static assets for client files.

Supported versions

FrameworkSupported stable version and build
Astro>=6.0.0 <8, with a compatible official Cloudflare adapter
React Router>=7.10.0 <9, Framework Mode with a compatible Vite 6, 7 or 8
TanStack StartReact and Solid >=1.132.0 <2, with the app's compatible Vite
Nuxt>=3.18.0 <5, with the Nitro actually used by Nuxt at >=2.12.0 <3
SolidStart>=1.1.0 <3; 1.x requires Vinxi >=0.5.3 <0.6 and Nitro 2

Prereleases, unsupported framework/plugin combinations and unknown build internals are reported. Arkor keeps the application's installed versions and lockfile. Vite 6, 7 and 8 are integrated only where the framework's actual dependencies support them. Browser-only React Router and TanStack Router without Start do not select an SSR build. SolidStart and TanStack Start for Solid are separate frameworks. These ranges describe Arkor's integration, not upstream maintenance or security support; check each framework's release policy before choosing a version.

Deploy without Arkor configuration

Import the repository as in the Quickstart and select the app's directory. Arkor identifies the framework from that app's declared dependency and installed version. Next.js takes priority when the selected app declares it; a hoisted Next.js in another workspace does not turn an SSR app into a Next.js build.

No Arkor package or configuration file is required. Standard official deployment integrations are adapted for Cloudflare during the build. Arkor preserves the project's source configuration and uses its custom build command when set, otherwise its existing build script, or the framework's build command when no script exists. See Builds and deployments.

Existing Cloudflare entrypoints and Wrangler configuration remain build inputs. Generated Wrangler configuration identifies the Worker and asset output after the build, including custom output directories. A successful command that leaves only a Node.js server is not a deployable Worker. Unknown adapters and provider plugins are reported instead of guessing how to run their output.

When migrating the Nitro Vite plugin to a direct Worker, Arkor accepts supported official SSR presets and build logging settings. Runtime Nitro options and standalone configuration files, including nitro.config.*, Nitro configs in .config/ and .nitrorc, are reported because their behavior cannot be preserved automatically. This restriction does not apply to Nuxt's native Nitro configuration.

Framework details

Astro

Arkor builds supported official Astro deployment adapters for Cloudflare and retains prerendered files alongside on-demand routes. When the host has verified Images availability, unconfigured images use { build: 'compile', runtime: 'cloudflare-binding' }: local build-time compilation and managed runtime transforms. Explicit compile, passthrough and custom services are preserved. With automatic default bindings disabled, register IMAGES explicitly or select an existing custom Images binding in the adapter. Missing grants and unavailable hosts produce a diagnostic. See Images transforms.

The build selects an isolated official adapter compatible with the installed Astro: 13.3.1 for 6.0–6.2, 13.7.0 for 6.3+, 14.1.7 for 7.0–7.1, 14.2.0 for 7.2–7.3 and 14.4.2 for 7.4+. Adapters 13.4.0 and 14.2.0 import runtime APIs absent from Astro 6.0 and 7.0, despite their broad peer ranges, so those profiles use 13.3.1 and 14.1.7. Likewise, 14.3.x requires a prerender API absent from Astro 7.2, so that profile retains 14.2.0. No adapter is installed into the application's source tree.

Explicit Cloudflare build-time image transformation is unsupported. In adapter 14.3.2 and later, the string imageService: 'cloudflare-binding' includes build-time transformations; use the compound runtime-only setting above. Earlier adapters give that string runtime-only meaning. Arkor checks the original installed adapter version; when moving to a newer build adapter would change that meaning, it reports the explicit compound setting instead of silently enabling Cloudflare build-time transforms. Custom binding names are retained; an adapter that requires IMAGES receives a local alias, and conflicting names stop publication.

Astro's implicit session KV requirement selects an Arkor-managed binding named SESSION, then UPWIND_KV, then the only remaining KV binding. A missing or ambiguous choice is reported. An explicit session driver or binding, disabled sessions, cookies and TTL settings are preserved; a declared KV binding must match its configured name. The local deploy CLI can create its usual UPWIND_KV default when automatic default bindings are enabled and the project has no KV. See the official Cloudflare adapter guide.

Astro's workerd prerender environment requires the Node.js build runtime. Use bun run build without --bun, which preserves the Astro CLI's Node.js shebang, or run the Astro CLI with Node.js. Running this prerender environment directly under Bun is unsupported while the upstream Cloudflare/Bun request hang remains.

React Router

Framework Mode builds preserve React Router 7's future.v8_viteEnvironmentApi and future.v8_middleware flags. Legacy builds use the official resolved configuration and completion hook; Environment API builds use Cloudflare's Vite integration. Loaders, actions, server rendering and client files stay with the framework. RSC builds, ssr: false/SPA mode, prerendering and serverBundles are outside this SSR integration. See React Router deployment.

Loaders and actions can import env and waitUntil from cloudflare:workers for managed bindings and background work. React Router 7 without middleware receives plain load context; middleware-enabled 7 and React Router 8 use a request-scoped RouterContextProvider: middleware sets values with app-owned createContext keys, and loaders or actions read them with context.get. Existing explicit Worker entrypoints, including custom context setup, are preserved.

TanStack Start

Both React and Solid Start apps use their Vite build and Cloudflare Worker output, including server functions and generated client assets. Prerendered public files remain native assets. Rsbuild and experimental RSC builds are not supported. See TanStack Start hosting.

Nuxt

Arkor selects Nitro's cloudflare_module preset during the build, including when the app normally targets a Node.js server or another supported official provider. Nitro's generated configuration names the server and public assets, so Arkor does not assume a fixed .output directory. Nuxt's native Nitro options are preserved. Custom, static and resource-specific presets are reported instead of discarding their hooks or behavior. Nuxt's alternative server builders and Nitro 3 opt-ins require supported Cloudflare Worker output; they are not covered by the standard Nitro 2 integration. See the Nitro 2 Cloudflare guide.

SolidStart

SolidStart 1 uses its Vinxi/Nitro build, preserving existing hooks and using the actual emitted Rollup entry. Older Nitro versions without a Wrangler writer receive temporary generated configuration after a successful build. SolidStart 2 uses Vite's server environment and the official Cloudflare deployment plugin for SSR. Supported official Node, Nitro or Netlify integrations are adapted during the build. Custom server runtimes and static-only builds are outside this SSR integration. See SolidStart deployment plugins.

Bindings, delivery and limits

Configure environment variables, secrets and managed KV, R2 or D1 resources in Arkor. Declared binding names and kinds must match the assignments for that service; an assigned binding name can differ from the underlying resource's name. External Cloudflare resource IDs are not imported. Project variables and secrets override matching Wrangler variables. See Bindings and Hono and fetch handlers for the native binding contract.

The SSR app owns its responses, including streaming bodies, redirects and cookies. Arkor forwards them without waiting for rendering to finish or adding shared caching to personalized HTML. These deployments do not use the Next.js cached-shell resume or ISR paths. Build inspection shows the framework, installed version and native asset counts; the source route tree and runtime Cache tab remain Next.js features.

Each service builds one application Worker and its assets. To deploy several applications together or connect them privately, configure Services and releases in Arkor; existing Wrangler service bindings are not imported. A Worker can also export a scheduled() handler and declare triggers.crons; see Cron jobs.

Durable Object class publication, queues and other event-trigger provisioning are not part of this framework integration. Existing Node.js-only dependencies and listening servers may still need changes for Workers. Unsupported modes and missing or conflicting bindings are reported during the build or before publication. See Troubleshooting.