yarn uninstall packages code example
Example 1: how to uninstall a package with yarn
yarn remove <package_name>
Example 2: yarn uninstall
just do: yarn remove [package-name]
yarn remove <package_name>
just do: yarn remove [package-name]