React: Create React App: Difference between revisions
From wiki.jacobjohns.com
jwiki>jjohns Spacing |
jwiki>jjohns No edit summary |
||
| Line 4: | Line 4: | ||
]] | ]] | ||
<hr /><br /> | |||
# Go to working directory where the project will live. | # Go to working directory where the project will live. | ||
#* <code>cd c:\users\$env:USERPROFILE\gitDir\</code> | #* <code>cd c:\users\$env:USERPROFILE\gitDir\</code> | ||
Revision as of 14:43, 21 July 2024

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