TanStack router setup
All checks were successful
Lint / lint (push) Successful in 43s

This commit is contained in:
Julien Valverdé
2025-09-19 02:19:45 +02:00
parent 16b3cfd6ae
commit e7945e734c
9 changed files with 217 additions and 6 deletions

View File

@@ -1,10 +1,18 @@
import { tanstackRouter } from "@tanstack/router-plugin/vite"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [
tanstackRouter({
target: "react",
autoCodeSplitting: true,
}),
react(),
],
server: {
host: true,
port: 80,