Skip to content

Commit

Permalink
add react/jsx into example
Browse files Browse the repository at this point in the history
  • Loading branch information
Zordius Chen committed Jan 29, 2017
1 parent 58a09ee commit 1061c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ Configure your <a href="https://babeljs.io/docs/usage/babelrc/">.babelrc</a> 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
Expand Down

0 comments on commit 1061c7f

Please sign in to comment.