Skip to content

Commit dca60ec

Browse files
authored
Mention --postcss CLI flag (tailwindlabs#883)
1 parent 67ea960 commit dca60ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/docs/installation.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,11 @@ npx tailwindcss --no-autoprefixer -o tailwind.css
267267

268268
### Using a custom PostCSS configuration
269269

270-
If you'd like to use other PostCSS plugins alongside Tailwind, you can create a `postcss.config.js` file in your project root to add your extra plugins and Tailwind will include them when building your CSS:
270+
If you'd like to use other PostCSS plugins alongside Tailwind, you can create a `postcss.config.js` file in your project root to add your extra plugins and Tailwind will include them if you use the `--postcss` flag when building your CSS:
271+
272+
```shell
273+
npx tailwindcss --postcss -o tailwind.css
274+
```
271275

272276
```js
273277
// postcss.config.js

0 commit comments

Comments
 (0)