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 2
2
3
3
Get started with Headwind by installing it via your package manager or using pre-built binaries.
4
4
5
- ## Requirements
6
-
7
- - ** Bun** 1.0 or higher (recommended)
8
- - ** Node.js** 18+ (for npm/pnpm/yarn)
9
-
10
5
## Package Managers
11
6
12
7
Install Headwind as a development dependency in your project:
@@ -371,6 +366,7 @@ headwind watch
371
366
```
372
367
373
368
This will:
369
+
374
370
- Watch all files matching your content patterns
375
371
- Automatically rebuild CSS on changes
376
372
- Show build statistics in the terminal
@@ -428,11 +424,13 @@ bunx headwind build
428
424
If you encounter TypeScript errors in your config file:
429
425
430
426
1 . Ensure you have TypeScript installed:
427
+
431
428
``` bash
432
429
bun add --dev typescript
433
430
```
434
431
435
432
2 . Use the ` satisfies ` keyword for type checking:
433
+
436
434
``` typescript
437
435
import type { HeadwindConfig } from ' headwind'
438
436
@@ -449,6 +447,7 @@ If the build fails:
449
447
1 . Check that your content patterns are correct
450
448
2 . Ensure the output directory exists or can be created
451
449
3 . Run with ` --verbose ` for detailed error information:
450
+
452
451
``` bash
453
452
headwind build --verbose
454
453
```
You can’t perform that action at this time.
0 commit comments