Skip to content

Commit

Permalink
missing PostCSS plugin documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nmn committed Jan 2, 2025
1 parent eb62148 commit fa28a83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/docs/docs/learn/03-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ and esbuild.
],
};
```

Finally, ensure that your app imports a global CSS file that includes the following declaration:

```css
@stylex;
```

The PostCSS plugin will replace the delaration with the generated StyleX styles.
Make sure that you only include this declaration once in your app.
</details>

<details>
Expand Down

0 comments on commit fa28a83

Please sign in to comment.