React: Create React App

From wiki.jacobjohns.com
Revision as of 16:06, 27 July 2024 by Jjohns (talk | contribs) (3 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#
#


  1. Go to working directory where the project will live.
    • cd c:\users\$env:USERPROFILE\gitDir\
  2. Create app with npx, cd to directory, and start the app.
    • npx create-react-app my-app
    • cd my-app
    • npm start
  3. Browse to localhost.