add routes react code example
Example 1: install react router
$ npm install --save react-router
Example 2: how to do routes react js
npm install react-router-dom
$ npm install --save react-router
npm install react-router-dom