- Install tailwindcss, postcss, autoprefixer, and @tailwindcss/postcss - Create tailwind.config.js with content paths for all source files - Create postcss.config.js with Tailwind and Autoprefixer plugins - Update index.css with Tailwind directives (@tailwind base/components/utilities) - Update App.tsx to demonstrate Tailwind utility classes - Verify both build and dev server work correctly - Update TODO.md to mark task as complete |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
README.md
Recipe Manager - Frontend
React + TypeScript frontend for the Recipe Manager application.
Tech Stack
- React 19 - UI framework
- TypeScript - Type safety
- Vite - Build tool and dev server
- React Router 7 - Client-side routing
Development
# Install dependencies
npm install
# Start dev server (http://localhost:5173)
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
# Lint code
npm run lint
Project Structure
src/
├── components/ # Reusable UI components
├── hooks/ # Custom React hooks
├── pages/ # Route pages
├── services/ # API client and business logic
├── types/ # TypeScript interfaces
├── App.tsx # Root component
└── main.tsx # Application entry point
Next Steps
- Configure Tailwind CSS
- Set up React Router
- Create recipe list page
- Create recipe detail/edit page
- Implement cook mode UI
Architecture
See /ARCHITECTURE.md for full system architecture and patterns.