Switch from Router to Start (Enable SSR!)

A real pain to change mid-road.
This commit is contained in:
2025-03-31 17:41:00 +02:00
parent af080480e4
commit a6df580ff9
11 changed files with 3999 additions and 148 deletions

16
app.config.ts Normal file
View File

@@ -0,0 +1,16 @@
// app.config.ts
import { defineConfig } from '@tanstack/react-start/config'
import tsConfigPaths from 'vite-tsconfig-paths'
export default defineConfig({
tsr: {
appDirectory: 'src',
},
vite: {
plugins: [
tsConfigPaths({
projects: ['./tsconfig.json'],
}),
],
},
})