diff --git a/docs/installation.html b/docs/installation.html index 7b0a169edb..dbd292ef1a 100644 --- a/docs/installation.html +++ b/docs/installation.html @@ -231,6 +231,20 @@ npm install --save react react-dom

Include both DefinePlugin and UglifyJsPlugin into your production Webpack configuration as described in this guide.

+

Using a CDN

+ +

If you don't want to use npm to manage client packages, the react and react-dom npm packages also provide single-file distributions in dist folders, which are hosted on a CDN:

+
<script src="https://unpkg.com/react@15/dist/react.js"></script>
+<script src="https://unpkg.com/react-dom@15/dist/react-dom.js"></script>
+
+

The versions above are only meant for development, and are not suitable for production. Minified and optimized production versions of React are available at:

+
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
+<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
+
+

To load a specific version of react and react-dom, replace 15 with the version number.

+ +

If you use Bower, React is available via the react package.

+