Skip to content

Commit 0e20bcd

Browse files
committed
docs: update install guide
1 parent 4981ff8 commit 0e20bcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ An Rsbuild plugin to provide compile-time support for styled-components. It impr
1616
Install:
1717

1818
```bash
19+
# `@rsbuild/core` >= 1.2.0
1920
npm add @rsbuild/plugin-styled-components -D
21+
22+
# `@rsbuild/core` < 1.2.0
23+
npm add @rsbuild/[email protected] -D
2024
```
2125

2226
Add plugin to your `rsbuild.config.ts`:

0 commit comments

Comments
 (0)