create-react-app is the name of the remote script and “.” specifies that we want the script to make a React project in the SAME FOLDER and not make a new folder for it, if you had to make a new folder name, you could just provide the name of folder instead of “.” and it would make a folder for you. This is done so that you always have the latest version of React installed in your project. npx is a part of npm (Node Package Manager) except npx runs a remote script instead of installing it locally. This will take time so till then you can read what the script actually does below. To use this script, just type the following in the terminal and press Enter. So Facebook, the creator of React made a script which installs and sets up React for you without any type of headache. And this is usually a headache when doing manually. Now that you’re in the terminal, we can now install and setup React app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |