Module 1: The Canvas Setup — Next.js App Router, Tailwind CSS, and React-Markdown Preview Panels.
Setting Up the Edge-Native UI Canvas
Overview
In this foundational lesson, we initialize our Next.js workspace and build a premium, distraction-free split-screen layout. We use Tailwind CSS for a dark-mode aesthetic and integrate react-markdown to transform raw text into formatted previews instantly.
Key Takeaways
Project Initialization: Setting up a modern Next.js App Router workspace with TypeScript and Tailwind CSS.
Dual-Column Architecture: Creating a side-by-side view featuring a borderless markdown
textareainput and a rendered preview panel.Markdown Parsing: Utilizing the
ReactMarkdowncomponent to dynamically parse headings, bold text, lists, and code blocks on the client side.
🔗 Lesson Resources
Stitch Design File: Stitch Designs
Module 1 Code Branch: Repo