Link/unlink repositories using Yarn
May 30 2021
yarn- Run command
yarn linkin the repositories which we want to link, let say repo1. - Run command
yarn link repo1in the repository where we want to link repo1. - Run command
yarn unlink repo1if we want to unlink the repository.
Also, we need to run yarn install after unlinking any repository so that it can fetch it from the packages now.