发布于 2025-01-14
你可以在 MDX 文件中直接使用组件,例如 <MyDemo />。
<MyDemo />
export function Demo() { return <button>Hi</button>; }