From 1061c7f392126eefd184c4bc1ead7aa9ff99b455 Mon Sep 17 00:00:00 2001 From: Zordius Chen Date: Sun, 29 Jan 2017 12:54:16 +0800 Subject: [PATCH] add react/jsx into example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67763dd..40da7d4 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,11 @@ Configure your .babelrc and Here is a .babelrc example: ``` -{presets: ['es2015']} +{presets: ['es2015', 'react']} ``` And then: ``` -npm install babel-preset-es2015 +npm install babel-preset-es2015 babel-preset-react ``` 3. Create Gulp Task