From c16355138ca8ae68b35a34b1b8ac3302a0bef56e Mon Sep 17 00:00:00 2001 From: Kite Date: Wed, 7 Sep 2016 01:58:17 +0900 Subject: [PATCH] Fix the HTML for package management (#7656) --- docs/09.2-package-management.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/09.2-package-management.md b/docs/09.2-package-management.md index 26efde429..0d925aac9 100644 --- a/docs/09.2-package-management.md +++ b/docs/09.2-package-management.md @@ -27,11 +27,11 @@ ReactDOM.render( ``` Configure [babel](https://babeljs.io/) with a `.babelrc` file: - + ```json { "presets": ["react"] } ``` - + > Note: > > If you are using ES2015, you will want to also use the `babel-preset-es2015` package. @@ -67,19 +67,16 @@ new webpack.DefinePlugin({ Update your HTML file as below: -```html{8,12} +```html{9} Hello React! - - -
- + ``` @@ -120,4 +117,3 @@ bower install --save react ## Using master We have instructions for building from `master` [in our GitHub repository](https://github.com/facebook/react). -