Skip to content

Commit 87db60e

Browse files
committed
Updated tailwind postcss config.
1 parent 15278c9 commit 87db60e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

postcss.config.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/** @type {import('postcss-load-config').Config} */
22
const config = {
33
plugins: {
4-
tailwindcss: {},
4+
'@tailwindcss/postcss': {}, // Use the new package here
5+
autoprefixer: {},
56
},
6-
};
7+
}
78

8-
export default config;
9+
export default config

tailwind.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ const config: Config = {
4848
},
4949
},
5050
},
51-
plugins: [],
51+
plugins: [
52+
require('tailwindcss-animate'),
53+
require('@tailwindcss/typography'),
54+
require('@tailwindcss/forms'),
55+
],
5256
}
5357
export default config

0 commit comments

Comments
 (0)