Update Tailwind PostCSS config sample (#1980)
This commit is contained in:
parent
fff00e45f0
commit
1267056181
1 changed files with 4 additions and 2 deletions
|
@ -224,8 +224,10 @@ module.exports = {
|
||||||
```js
|
```js
|
||||||
// postcss.config.cjs
|
// postcss.config.cjs
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tailwind: {},
|
plugins: {
|
||||||
};
|
tailwindcss: {},
|
||||||
|
},
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you're ready to write Tailwind! Our recommended approach is to create a `src/styles/global.css` file (or whatever you‘d like to name your global stylesheet) with [Tailwind utilities][tailwind-utilities] like so:
|
Now you're ready to write Tailwind! Our recommended approach is to create a `src/styles/global.css` file (or whatever you‘d like to name your global stylesheet) with [Tailwind utilities][tailwind-utilities] like so:
|
||||||
|
|
Loading…
Add table
Reference in a new issue