ecommerce-template/apps/remix-template/app/routes/edge.tsx

15 lines
361 B
TypeScript

import type { MetaFunction } from "@vercel/remix";
export const config = { runtime: "edge" };
export const meta: MetaFunction = () => [
{ title: "Remix@Edge | New Remix App" },
];
export default function Edge() {
return (
<div style={{ fontFamily: "system-ui, sans-serif", lineHeight: "1.4" }}>
<h1>Welcome to Remix@Edge</h1>
</div>
);
}