Remix
Remix support is coming soon.
In the meantime, you can use the framework-agnostic createVard client from @vard-app/sdk in your Remix loaders:
app/lib/vard.ts
import { createVard } from "@vard-app/sdk";
export const vard = createVard({
apiKey: process.env.VARD_API_KEY,
});app/routes/_index.tsx
import { vard } from "~/lib/vard";
import { json } from "@remix-run/node";
export async function loader() {
const content = await vard.get();
return json({ content });
}A dedicated Remix adapter is on the roadmap. Follow the changelog for updates.
Last updated on