10 lines
419 B
TypeScript
10 lines
419 B
TypeScript
import { defineConfig } from "vite";
|
|
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
|
import viteReact from "@vitejs/plugin-react";
|
|
|
|
// TanStack Start full-stack app. The plugin wires SSR + file-based routing
|
|
// (routes live in src/routes, routeTree.gen.ts is generated automatically).
|
|
export default defineConfig({
|
|
server: { port: 3000, host: true },
|
|
plugins: [tanstackStart(), viteReact()],
|
|
});
|