Create a React App with Webstorm
Why use Webstorm for React Projects
None of these features are mandatory, but all of them combined in one package deliver a powerful swiss-army knife for engineers. Webstorm even comes with its own Terminal, eliminating the need for a separate terminal application, synchronizing terminal tabs with specific projects.
To create a react app with Webstorm:
- File -> New -> Project
Choose React App from the left column.
Choose a directory name for your project by filling out the Location field.
Select npx create-react-app from the dropdown in the create-react-app field.
Wait for it to install, and observe the commands.
Click on the terminal tab, and type
yarn startinto the terminal.
- The terminal will let you know you've compiled the app successfully and the browser should open. Congrats, you've just installed and ran a React app!
Weren't able to find what you need? Book a free call with a React School developer today.