Switch from Router to Start (Enable SSR!)
A real pain to change mid-road.
This commit is contained in:
16
app.config.ts
Normal file
16
app.config.ts
Normal 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'],
|
||||
}),
|
||||
],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user