Yiqin Universe / 奕钦宇宙
Programming

TypeScript project structure notes

Keep pages, components, data, content, and utilities separated so the project can grow without becoming messy.

Useful boundaries:

  • Pages compose data and components.
  • Components focus on display.
  • Content lives in collections.
  • Site configuration lives in src/data.
  • Utilities should stay small and named clearly.