v.Latest
Documentation
清理你的项目
在此页面上
让我们为集成TinaCMS准备我们的项目。
这只是为了让接下来的步骤更简单。
替换默认内容
- 在你喜欢的IDE中打开项目。
- 删除NextJS
app/page.tsx文件中的内容。 - 添加一个“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>);}