From 861629901e7ae1e032f8124e7d0d94125f726db7 Mon Sep 17 00:00:00 2001 From: Hiroki Fujita <48636793+hirokifj@users.noreply.github.com> Date: Thu, 6 Jun 2024 00:43:53 +0900 Subject: [PATCH] docs: add link to resolutions (#968) --- sections/basics/installation.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/basics/installation.mdx b/sections/basics/installation.mdx index 455fe3ad..cc8595e9 100644 --- a/sections/basics/installation.mdx +++ b/sections/basics/installation.mdx @@ -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`: