[ Web Proxy ]
URL:
Viewing: https://create-react-app.dev/docs/installing-a-dependency [Back]  [Original]

Installing a Dependency | Create React App
Skip to main content

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
Copy

Alternatively you may use yarn:

yarn add react-router-dom
Copy

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


Web Proxy Viewer  |  New URL  |  Original Page