Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

vite.config.ts

11 lines301 Bytes

1import { defineConfig } from 'vite'
2import { tanstackStart } from '@tanstack/react-start/plugin/vite'
3import viteReact from '@vitejs/plugin-react'
4import { nitro } from 'nitro/vite'
5​
6export default defineConfig({
7 server: {
8 port: 3000,
9 },
10 plugins: [tanstackStart(), viteReact(), nitro()],
11})