install react douter dom code example
Example 1: npm react router dom
$ npm install --save react-router-dom
Example 2: npm react router dom
<script src="https://unpkg.com/react-router-dom/umd/react-router-dom.min.js"></script>
$ npm install --save react-router-dom
<script src="https://unpkg.com/react-router-dom/umd/react-router-dom.min.js"></script>