Skip to content

Commit bff407b

Browse files
committed
u
1 parent effc0fa commit bff407b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docusaurus.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ const config: Config = {
183183
name: "docusaurus-tailwindcss",
184184
configurePostCss(postcssOptions) {
185185
// Use the new PostCSS plugin for Tailwind CSS
186-
postcssOptions.plugins.push(require("@tailwindcss/postcss"))
186+
postcssOptions.plugins.push(require("tailwindcss")) // Use the main tailwindcss package
187+
postcssOptions.plugins.push(require("autoprefixer")) // Add autoprefixer
187188
return postcssOptions
188189
},
189190
}

0 commit comments

Comments
 (0)