Files
sweet/tests/fixture/islands/JsonIsland.tsx
T

6 lines
148 B
TypeScript

import json from "./data.json" with { type: "json" };
export default function JsonIsland() {
return <pre>{JSON.stringify(json,null, 2)}</pre>;
}