Skip to content

A react boilerplate bootstrapped by create-react-app with react-router 4

Notifications You must be signed in to change notification settings

iankhor/react-vanilla-boilerplate-with-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This boilerplate was bootstrapped with:

An example of the boilerplate can be seen here at https://react-vanilla-router.herokuapp.com/

There is one example that is bootstrapped with Material UI and it can be found at https://github.com/iankhor/react-material-ui-boilerplate

Instructions

  1. Git clone repository into your local directory
  2. Run npm i in your local directory
  3. Run cp .env.example .env
  4. Start React App with npm run watch
  5. Open React App at localhost:9000

Notes

  1. Update any environment variables where applicable in your local .env file
  2. Update CSS in the style.styl file
  3. Any changes in the code and .styl files will automatically recompile the project
  4. Update routes in the component called Routes in \src\components\shared\Routes.js
  5. The component JSONDebugger can be used to display JSON data by passing the component a JSON file with the prop name json. See example in \src\components\PageOne.js

About

A react boilerplate bootstrapped by create-react-app with react-router 4

Resources

Stars

Watchers

Forks

Packages