Forion Logo
← Orbit

Vite + React

Vite excels at fast local feedback and straightforward bundling. Orbit can outline `src/` trees, route components, and Tailwind entry points consistent with Vite’s expectations. Clarify if you use React Router, TanStack Router, or file-based conventions so imports resolve on first run.

Environment variables in Vite require the `VITE_` prefix—state that in the prompt if you want `.env.example` stubs. Also specify testing stack (Vitest, Playwright) if you want placeholder configs; otherwise engineers add them manually post-export.

Because Vite is less opinionated than Next about rendering, spell out SEO needs. If you require SSR or SSG, you may choose a different template; do not expect Vite SPA output to match Next metadata APIs without additional tooling.

Snippet

// vite.config.ts (excerpt)
export default defineConfig({
  plugins: [react()],
})

FAQ

Can I deploy to Cloudflare Pages?
Yes, with the appropriate adapter and build command. Mention Cloudflare in the prompt for starter config hints.