-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Overview
Set up CSS Modules styling approach matching the Vercel HN demo.
Parent Epic: #70
Priority: P1
Prerequisites
- 1.1: Initialize Rails 8 Application with React on Rails Proย #71 (1.1: Initialize Rails 8 Application with React on Rails Pro)
Next Issues (after this is complete)
- 4.1: Create Root Layout Component
- 4.2: Create Header Component
- 4.11: Create Loading Skeletons
Acceptance Criteria
- CSS Modules configured in Rspack/bundler
- Global styles file created (
app/javascript/styles/globals.css) - Verify CSS hot reload works in development
- Test that
.module.cssfiles are properly scoped
Implementation Notes
- Reference the Vercel HN demo styling: https://github.com/vercel/next-react-server-components
- Ensure CSS modules work correctly with RSC components
coderabbitai