For this tutorial, you will need a starting project. The assumption is that there is no lock file and the project is not installed (i.e. nonode_modules
folder). I will be starting with a blankVite project. You can create one by running the command below and following the prompts:
yarn create vite
If you don't have Yarn berry installed, run one of the following commands:
# Node >=16.10 - May have to run as admincorepackenable
# Node <16.10npm i-g corepack
Once completed, open the project. Now, run the following commands in sequence:
yarnsetversion berryyarnyarn dlx @yarnpkg/sdks vscode# If using vscode/vscodium
All done!
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse