返回 Skill 列表
extension
分类: 开发与工程无需 API Key

writing-page-layout

在需要为Next.js中的页面布局编写代码时使用此技能

person作者: jakexiaohubgithub

Instructions

  • Follow the rules below to write a page layout (page.tsx) in the Next.js app:

Rules

  • Make it modular
  • Maximum of 40 lines of code per page layout
  • Seperate the types and interfaces in a separate file (srs/app/types)