Trying to migrate from Next.js, running the alpha. Running into two issues with file based routing:
- No
createFileRoutebeing inserted in existing files - With new files,
createFileRouteis added, but when saving thecreateFileRouteimport is removed
"@tanstack/react-router": "1.121.0-alpha.14",
"@tanstack/react-start": "1.121.0-alpha.21",
Vite config
import tailwindcss from "@tailwindcss/vite"
import { tanstackStart } from "@tanstack/react-start/plugin/vite"
import { defineConfig } from "vite"
import tsconfigPaths from "vite-tsconfig-paths"
export default defineConfig({
server: {
port: 3000,
},
plugins: [tailwindcss(), tsconfigPaths(), tanstackStart()],
})