router react dom npm code example Example: npm react router dom $ npm install --save react-router-dom