Skip to content

Commit 1702f70

Browse files
authored
Merge pull request #476 from EricGusmao/update-readme
Update README for postcss configuration for v4
2 parents a0eaafa + ea6552d commit 1702f70

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -260,13 +260,10 @@ For example, to enable nesting:
260260
261261
```js
262262
// postcss.config.js
263-
module.exports = {
263+
export default {
264264
plugins: {
265-
'postcss-import': {},
266-
'tailwindcss/nesting': {},
267-
tailwindcss: {},
268-
autoprefixer: {},
269-
},
265+
"@tailwindcss/postcss": {},
266+
}
270267
}
271268
```
272269
@@ -278,10 +275,9 @@ module.exports = {
278275
"name": "my app",
279276
"private": true,
280277
"dependencies": {
281-
"postcss-advanced-variables": "^4.0.0",
282-
"postcss-import": "^16.0.1",
283-
"postcss-mixins": "^9.0.4",
284-
"tailwindcss": "^3.4.1"
278+
"@tailwindcss/postcss": "^4.0.0",
279+
"tailwindcss": "^4.0.0",
280+
"postcss": "^8.5.1"
285281
}
286282
}
287283
```

0 commit comments

Comments
 (0)