yarn add to dev and peer dependencies code example
Example 1: yarn add specific version
// for specific versions
yarn add [email protected]
Example 2: yarn add --save-exact
yarn add <package...> [--exact/-E]
// for specific versions
yarn add [email protected]
yarn add <package...> [--exact/-E]