React projects: Difference between revisions
From wikinotes
No edit summary |
(No difference)
|
Revision as of 02:34, 17 June 2021
TODO:
more thorough
Documentation
react environments https://reactjs.org/docs/create-a-new-react-app.html
npx
Creates an empty nodejs react project with jest as a test-suite.
pacman -S nodejs npx create-react-app my-appnode_modules/ public/ src/ package.json package-lock.jsonnpm start # run auto-reloading dev server localhost:3000 npm test # run tests npm run build # build/minify into build/ directory