Files
create-react-app/docusaurus/docs/installing-a-dependency.md
Ian Sutherland 1d03579f51 Add Alex to lint documentation (#7852)
* Add Alex to lint documentation

* Attempt to trigger GitHub Action

* Configure Alex and update docs

* More docs updates
2019-10-24 11:14:15 -07:00

475 B

id, title
id title
installing-a-dependency Installing a Dependency

The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may install other dependencies (for example, React Router) with npm:

npm install --save react-router-dom

Alternatively you may use yarn:

yarn add react-router-dom

This works for any library, not only react-router-dom.