镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Commit 8123862

Browse files
committed
docs: align README init snippet with the actual scaffold
1 parent 2dc0a15 commit 8123862

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@ This creates a `crosswind.config.ts` file:
4747
```typescript
4848
import type { CrosswindOptions } from '@cwcss/crosswind'
4949

50-
export default {
51-
content: ['./src/**/*.{html,js,ts,jsx,tsx}'],
50+
const config = {
51+
content: ['./src/**/*.{html,js,ts,jsx,tsx,stx}'],
5252
output: './dist/crosswind.css',
5353
minify: false,
54+
watch: false,
5455
} satisfies CrosswindOptions
56+
57+
export default config
5558
```
5659

5760
2. **Add utility classes to your HTML**:

0 commit comments

Comments
 (0)