Skip to content

Commit

Permalink
docs: add link to resolutions (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokifj authored Jun 5, 2024
1 parent dd47900 commit 8616299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/basics/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ npm install styled-components
yarn add styled-components
```

If you use a package manager like [yarn](https://yarnpkg.com/) that supports the "resolutions" package.json field, we also highly recommend you add an entry to it as well corresponding to the major version range. This helps avoid an entire class of problems that arise from multiple versions of styled-components being installed in your project.
If you use a package manager like [yarn](https://yarnpkg.com/) that supports the ["resolutions"](https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/) package.json field, we also highly recommend you add an entry to it as well corresponding to the major version range. This helps avoid an entire class of problems that arise from multiple versions of styled-components being installed in your project.

In `package.json`:

Expand Down

0 comments on commit 8616299

Please sign in to comment.