![]() ![]() So the question is can we directly run React js application on our machine, So the answer is No. So now take an example, Suppose you want to create a project using React Js.Īs we know that React js is a javascript library to create or build the user interface. ![]() So if we want to run any javascript code on the server then we have to install the Node Js. Node Js is the server-side javascript run time environment. Install React using create-react-app, a tool that installs all of the dependencies to build and run a full React.In this blog we see how to install node js on windows 10. ![]() 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). ![]() You can check this by opening PowerShell and entering: wsl -l -v
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |