yarn uninstall 1

yarn uninstall

yarn remove 

Here is what the above code is Doing:
1. It’s creating a new directory called my-project.
2. It’s changing the current working directory to my-project.
3. It’s initializing a new npm project.
4. It’s installing the react and react-dom packages.
5. It’s creating a new file called index.html and filling it with the basic HTML boilerplate.
6. It’s creating a new file called index.js and filling it with an alert to make sure everything is working.

Similar Posts