Install React using create-react-app, a tool that installs all of the dependencies to build and run a full React. Open a terminal(Windows Command Prompt or PowerShell).Ĭreate a new project folder: mkdir ReactProjects and enter that directory: cd ReactProjects. To install the full React toolchain on WSL, we recommend using create-react-app: For exact version requirements, see the Create React App website. Install Node.js on WSL 2: These instructions use Node Version Manager (nvm) for installation, you will need a recent version of NodeJS to run create-react-app, as well as a recent version of Node Package Manager (npm).Search for React in the search bar at the top and then select Standalone JavaScript React Template or Standalone TypeScript React Template, based on your preference. You can check this by opening PowerShell and entering: wsl -l -v Create your app In the Start window (choose File > Start Window to open), select Create a new project. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |