summaryrefslogtreecommitdiff
path: root/docs/src/pages/guides/styling.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/pages/guides/styling.md')
-rw-r--r--docs/src/pages/guides/styling.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/src/pages/guides/styling.md b/docs/src/pages/guides/styling.md
index 9e5e3bf88..db486e3ee 100644
--- a/docs/src/pages/guides/styling.md
+++ b/docs/src/pages/guides/styling.md
@@ -129,11 +129,9 @@ It’s recommended to only use this in scenarios where a `<link>` tag won’t wo
```js
// postcss.config.cjs
module.exports = {
- plugins: {
- autoprefixer: {
- /* (optional) autoprefixer settings */
- },
- },
+ plugins: [
+ require("autoprefixer")
+ ],
};
```
@@ -224,9 +222,9 @@ module.exports = {
```js
// postcss.config.cjs
module.exports = {
- plugins: {
- tailwindcss: {},
- },
+ plugins: [
+ require("tailwindcss")
+ ],
};
```