|
| 1 | +# Vibe Kit Documentation Site |
| 2 | + |
| 3 | +This is the official documentation website for [Vibe Kit](https://github.com/nolrm/vibe-kit), built with **Next.js 16**, **Tailwind CSS v4**, and **shadcn/ui** components. |
| 4 | + |
| 5 | +## What is This? |
| 6 | + |
| 7 | +The `vibe-kit-docs` directory contains the complete source code for the Vibe Kit documentation website. This site provides comprehensive documentation about Vibe Kit, including: |
| 8 | + |
| 9 | +- Quick start guide (installation + setup) |
| 10 | +- Platform-specific examples (Cursor, VS Code, Aider, Claude CLI, Gemini) |
| 11 | +- Project structure overview |
| 12 | +- CLI commands reference |
| 13 | + |
| 14 | +## Technologies |
| 15 | + |
| 16 | +- **Framework**: Next.js 16 with App Router |
| 17 | +- **Styling**: Tailwind CSS v4 |
| 18 | +- **Components**: shadcn/ui component library |
| 19 | +- **Language**: TypeScript |
| 20 | +- **Package Manager**: pnpm |
| 21 | + |
| 22 | +## Directory Structure |
| 23 | + |
| 24 | +``` |
| 25 | +vibe-kit-docs/ |
| 26 | +├── app/ # Next.js App Router pages |
| 27 | +│ ├── docs/ # Documentation pages |
| 28 | +│ │ ├── platform-examples/ # Platform examples (Cursor, VS Code, Aider, etc.) |
| 29 | +│ │ │ └── page.tsx |
| 30 | +│ │ ├── project-structure/ # Project structure guide |
| 31 | +│ │ │ └── page.tsx |
| 32 | +│ │ ├── commands/ # CLI commands reference |
| 33 | +│ │ │ └── page.tsx |
| 34 | +│ │ ├── quick-start/ # Complete installation + setup guide |
| 35 | +│ │ │ └── page.tsx |
| 36 | +│ │ ├── layout.tsx # Docs layout with sidebar |
| 37 | +│ │ └── page.tsx # Main docs landing page |
| 38 | +│ ├── globals.css # Global styles |
| 39 | +│ ├── layout.tsx # Root layout |
| 40 | +│ └── page.tsx # Home page |
| 41 | +│ |
| 42 | +├── components/ # React components |
| 43 | +│ ├── ui/ # shadcn/ui components (57 files) |
| 44 | +│ │ ├── button.tsx |
| 45 | +│ │ ├── card.tsx |
| 46 | +│ │ ├── input.tsx |
| 47 | +│ │ └── ... # Other UI components |
| 48 | +│ ├── docs-header.tsx # Documentation header |
| 49 | +│ ├── docs-sidebar.tsx # Documentation sidebar navigation |
| 50 | +│ ├── features.tsx # Features section |
| 51 | +│ ├── footer.tsx # Footer component |
| 52 | +│ ├── header.tsx # Main header |
| 53 | +│ ├── hero.tsx # Hero section |
| 54 | +│ └── theme-provider.tsx # Theme provider |
| 55 | +│ |
| 56 | +├── hooks/ # Custom React hooks |
| 57 | +│ ├── use-mobile.ts # Mobile detection hook |
| 58 | +│ └── use-toast.ts # Toast notification hook |
| 59 | +│ |
| 60 | +├── lib/ # Utility functions |
| 61 | +│ └── utils.ts # Utility functions (cn, etc.) |
| 62 | +│ |
| 63 | +├── public/ # Static assets |
| 64 | +│ ├── images/ |
| 65 | +│ │ ├── context-flow.png # Context engineering flow diagram |
| 66 | +│ │ └── project-structure.png # Project structure diagram |
| 67 | +│ └── placeholder-*.png # Placeholder images |
| 68 | +│ |
| 69 | +├── styles/ |
| 70 | +│ └── globals.css # Global CSS styles |
| 71 | +│ |
| 72 | +├── components.json # shadcn/ui configuration |
| 73 | +├── next.config.mjs # Next.js configuration |
| 74 | +├── package.json # Dependencies and scripts |
| 75 | +├── pnpm-lock.yaml # Dependency lock file |
| 76 | +├── postcss.config.mjs # PostCSS configuration |
| 77 | +├── tsconfig.json # TypeScript configuration |
| 78 | +└── next-env.d.ts # Next.js type definitions |
| 79 | +``` |
| 80 | + |
| 81 | +## Getting Started |
| 82 | + |
| 83 | +### Prerequisites |
| 84 | + |
| 85 | +- Node.js 16.x or higher |
| 86 | +- pnpm (or npm/yarn) |
| 87 | + |
| 88 | +### Installation |
| 89 | + |
| 90 | +```bash |
| 91 | +# Install dependencies |
| 92 | +pnpm install |
| 93 | +``` |
| 94 | + |
| 95 | +### Development |
| 96 | + |
| 97 | +```bash |
| 98 | +# Start development server |
| 99 | +pnpm dev |
| 100 | +``` |
| 101 | + |
| 102 | +The site will be available at `http://localhost:3000` |
| 103 | + |
| 104 | +### Build |
| 105 | + |
| 106 | +```bash |
| 107 | +# Build for production |
| 108 | +pnpm build |
| 109 | + |
| 110 | +# Start production server |
| 111 | +pnpm start |
| 112 | +``` |
| 113 | + |
| 114 | +### Scripts |
| 115 | + |
| 116 | +- `pnpm dev` - Start development server |
| 117 | +- `pnpm build` - Build for production |
| 118 | +- `pnpm start` - Start production server |
| 119 | +- `pnpm lint` - Run ESLint |
| 120 | + |
| 121 | +## Features |
| 122 | + |
| 123 | +### Documentation Sections |
| 124 | + |
| 125 | +1. **Introduction** (`/docs`) - Overview of Vibe Kit and Context Engineering |
| 126 | +2. **Quick Start** (`/docs/quick-start`) - Complete installation and setup guide (3 steps) |
| 127 | +3. **Platform Examples** (`/docs/platform-examples`) - How to use with Cursor, VS Code, Aider, Claude CLI, Gemini |
| 128 | +4. **Project Structure** (`/docs/project-structure`) - Directory structure and customization |
| 129 | +5. **Commands** (`/docs/commands`) - Complete CLI command reference |
| 130 | + |
| 131 | +### Key Components |
| 132 | + |
| 133 | +- **Responsive Sidebar** - Sticky navigation for easy browsing |
| 134 | +- **Modern UI** - Built with shadcn/ui components |
| 135 | +- **Dark Theme** - Optimized for dark mode |
| 136 | +- **Syntax Highlighting** - Code examples with proper formatting |
| 137 | +- **Mobile Responsive** - Works on all device sizes |
| 138 | + |
| 139 | +## Styling |
| 140 | + |
| 141 | +The project uses **Tailwind CSS v4** with custom CSS variables for theming. Global styles are located in: |
| 142 | +- `app/globals.css` - Root-level styles |
| 143 | +- `styles/globals.css` - Additional styling |
| 144 | + |
| 145 | +The site uses CSS variables for colors and theming: |
| 146 | +- `--background`, `--foreground` |
| 147 | +- `--primary`, `--secondary` |
| 148 | +- `--muted`, `--accent` |
| 149 | +- And more... |
| 150 | + |
| 151 | +## Deployment |
| 152 | + |
| 153 | +This site is deployed to Vercel. Configuration is in the root `vercel.json` file. |
| 154 | + |
| 155 | +## Contributing |
| 156 | + |
| 157 | +To update documentation: |
| 158 | + |
| 159 | +1. Edit the relevant page in `app/docs/` |
| 160 | +2. Update components in `components/` if needed |
| 161 | +3. Run `pnpm dev` to preview changes |
| 162 | +4. Commit and push changes |
| 163 | + |
| 164 | +## License |
| 165 | + |
| 166 | +MIT License - see [LICENSE](../LICENSE) file for details. |
| 167 | + |
0 commit comments