Strict black and white blog built with Vite, React, TypeScript, and Tailwind CSS.
- Vite — Build tool
- React 18 — UI
- TypeScript — Strict mode, full type safety
- Tailwind CSS — Utility-first styling (no other UI library)
npm run dev # Start dev server
npm run build # Type-check + production build
npm run preview # Preview production build
npm run lint # TypeScript check- Create a new
.mdfile incontent/posts/ - Add frontmatter:
slug,title,excerpt,date - Write content in Markdown (code blocks supported)
- Run
npm run generate-posts(ornpm run dev/npm run build)
See content/posts/README.md for the full guide.
content/posts/ # Markdown source files
src/
├── components/ # Layout, Header, Footer, MarkdownRenderer
├── data/ # Generated posts (from content/posts/*.md)
├── pages/ # Route pages
├── types/ # TypeScript interfaces
├── App.tsx
├── main.tsx
└── index.css # Tailwind directives