ReactApps

INstall React

  1. Download and install https://nodejs.org/en/download/
  2. npm install -g create-react-app
  3. create-react-app
  4. create-react-app
  5. replace public and src files from github repo
  6. cd
  7. npm install muicss
  8. npm run start

Update local server

  1. replace public and src files from github repo
  2. Open admin cmd and open folder
  3. run command: npm run build
  4. run command: serve -s build

Update GitHub Site Repo from React Studio

  1. React Studio: Export React Code
  2. Make sure website is in package.json
  3. Open admin cmd and open React folder
  4. run command: npm run build
  5. Upload to root of GitHub the contents of the build folder ("/ExportedProjects/[Name of React App]/build")

Updates

  • Serve npm i serve@latest -g -d
  • NPM npm update