File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 22
33Get started with Headwind by installing it via your package manager or using pre-built binaries.
44
5- ## Requirements
6-
7- - ** Bun** 1.0 or higher (recommended)
8- - ** Node.js** 18+ (for npm/pnpm/yarn)
9-
105## Package Managers
116
127Install Headwind as a development dependency in your project:
@@ -371,6 +366,7 @@ headwind watch
371366```
372367
373368This will:
369+
374370- Watch all files matching your content patterns
375371- Automatically rebuild CSS on changes
376372- Show build statistics in the terminal
@@ -428,11 +424,13 @@ bunx headwind build
428424If you encounter TypeScript errors in your config file:
429425
4304261 . Ensure you have TypeScript installed:
427+
431428 ``` bash
432429 bun add --dev typescript
433430 ```
434431
4354322 . Use the ` satisfies ` keyword for type checking:
433+
436434 ``` typescript
437435 import type { HeadwindConfig } from ' headwind'
438436
@@ -449,6 +447,7 @@ If the build fails:
4494471 . Check that your content patterns are correct
4504482 . Ensure the output directory exists or can be created
4514493 . Run with ` --verbose ` for detailed error information:
450+
452451 ``` bash
453452 headwind build --verbose
454453 ```
You can’t perform that action at this time.
0 commit comments