![]() ![]() You also may want to consider installing Gatsby if you want to build a static content-oriented website. ![]() If you are seeking to build a server-rendered website with React that uses a Node.js backend, we recommend installing Next.js, rather than this create-react-app installation, which is intended more for single-page apps. For exact version requirements, see the Create React App website.Ĭreate React App includes a frontend build pipeline using Babel and webpack, but doesn't handle backend logic or databases. 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 Install Windows Subsystem for Linux (WSL), including a Linux distribution (like Ubuntu) and make sure it is running in WSL 2 mode.Install the latest version of Windows 10 (Version 1903+, Build 18362+) or Windows 11. ![]() If you are brand new to React and just interested in learning, you may want to consider installing with create-react-app directly on Windows.įor more general information about React, deciding between React (web apps), React Native (mobile apps), and React Native for Windows (desktop apps), see the React overview. We recommend following these instructions if you are creating a single-page app (SPA) that you would like to use Bash commands or tools with and/or plan to deploy to a Linux server or use Docker containers. Ubuntu) running on the Windows Subsystem for Linux (WSL) using the create-react-app toolchain. This guide will walk through installing React on a Linux distribution (ie. ![]()
0 Comments
Leave a Reply. |