UNPKG

create-tanstack-hono-start

Version:

🚀 Fast CLI to create modern React 19 apps with TanStack Router, Hono API, TypeScript, and AI. Alternative to create-react-app with full-stack features.

24 lines (23 loc) • 464 B
import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import { TanStackRouterVite } from '@tanstack/router-vite-plugin'; export default defineConfig({ plugins: [ react(), TanStackRouterVite(), ], server: { port: 3000, proxy: { '/api': { target: 'http://localhost:8000', changeOrigin: true, secure: false, }, }, }, build: { outDir: 'dist', sourcemap: true, }, });