This commit is contained in:
2025-01-23 20:27:20 +01:00
parent 5a214d1d54
commit abef02f275
14 changed files with 8490 additions and 0 deletions

30
vite.config.ts Normal file
View File

@@ -0,0 +1,30 @@
import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
declare module "@remix-run/node" {
interface Future {
v3_singleFetch: true;
}
}
export default defineConfig({
plugins: [
remix({
future: {
v3_fetcherPersist: true,
v3_relativeSplatPath: true,
v3_throwAbortReason: true,
v3_singleFetch: true,
v3_lazyRouteDiscovery: true
},
/*routes: async (defineRoutes) => {
return defineRoutes((route) => {
route("/", "routes/_index.tsx");
route("/blog/:blog", "routes/blog.tsx");
});
},*/
}),
tsconfigPaths(),
],
});