mirror of
https://github.com/tale/headplane.git
synced 2026-08-19 17:36:19 +00:00
feat: add fate vite integration
This commit is contained in:
+5
-8
@@ -1,15 +1,12 @@
|
||||
import { RouterProvider } from "@tanstack/react-router";
|
||||
import { FateClient, createClient, createHTTPTransport } from "react-fate";
|
||||
import { FateClient } from "react-fate";
|
||||
import { createFateClient } from "react-fate/client";
|
||||
|
||||
import { router } from "./router";
|
||||
|
||||
const fate = createClient({
|
||||
roots: {},
|
||||
transport: createHTTPTransport({
|
||||
fetch: (input, init) => fetch(input, { ...init, credentials: "include" }),
|
||||
url: `${__PREFIX__}/fate`,
|
||||
}),
|
||||
types: [],
|
||||
const fate = createFateClient({
|
||||
fetch: (input, init) => fetch(input, { ...init, credentials: "include" }),
|
||||
url: `${__PREFIX__}/fate`,
|
||||
});
|
||||
|
||||
export function App() {
|
||||
|
||||
Reference in New Issue
Block a user