Skip to content
/ react-template Public template

template repo for React projects with everything setup

License

Notifications You must be signed in to change notification settings

will-molloy/react-template

Repository files navigation

react-template

build codecov

template repository for React projects

Usage

  • Go to: https://github.com/will-molloy/react-template/generate
    • This will prompt you to create a new repository with all the files setup
  • Rename the project (currently react-template) to your liking
  • Configure GitHub Pages to point at the gh-pages branch
  • Create your README
  • Delete anything you won't use

Install dependencies and start

npm i
npm start

Format code

npm run eslint -- --fix
npm run stylelint -- --fix

Deploy

npm run deploy

The site will be available at: https://{username}.github.io/{repo-name}/