Loving Tina? us on GitHub0.0k

文档

学习

v.Latest
Documentation
清理你的项目

让我们为集成TinaCMS准备我们的项目。

这只是为了让接下来的步骤更简单。

  1. 在你喜欢的IDE中打开项目。
  2. 删除NextJS app/page.tsx 文件中的内容。
  3. 添加一个“Hello world”标题!

你应该得到以下内容:

export default function Home() {
return (
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-(family-name:--font-geist-sans)">
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
<h1>Hello World!</h1>
</main>
</div>
);
}
上次编辑: March 28, 2025