Skip to content

Commit ea6552d

Browse files
committed
update README for postcss configuration and dependencies
1 parent 11438d6 commit ea6552d

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
@@ -251,13 +251,10 @@ For example, to enable nesting:
251251
252252
```js
253253
// postcss.config.js
254-
module.exports = {
254+
export default {
255255
plugins: {
256-
'postcss-import': {},
257-
'tailwindcss/nesting': {},
258-
tailwindcss: {},
259-
autoprefixer: {},
260-
},
256+
"@tailwindcss/postcss": {},
257+
}
261258
}
262259
```
263260
@@ -269,10 +266,9 @@ module.exports = {
269266
"name": "my app",
270267
"private": true,
271268
"dependencies": {
272-
"postcss-advanced-variables": "^4.0.0",
273-
"postcss-import": "^16.0.1",
274-
"postcss-mixins": "^9.0.4",
275-
"tailwindcss": "^3.4.1"
269+
"@tailwindcss/postcss": "^4.0.0",
270+
"tailwindcss": "^4.0.0",
271+
"postcss": "^8.5.1"
276272
}
277273
}
278274
```

0 commit comments

Comments
 (0)