writing-page-layout

Emz1998 的头像作者 Emz1998

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

📖 中文导读:当您需要为Next.js中的页面布局编写代码时使用此技能 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: writing-page-layout description: Use this skill when you need to write code for a page layout in the Next.js

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)