react-templates/docs/integrations.md

23 lines
704 B
Markdown
Raw Normal View History

2014-12-10 09:02:54 +01:00
# Integrations
## Intellij / Webstorm
### Install intellij react templates plugin
1. From intellij/webstorm open preferences
2. Go to plugins
3. Press browse repositories
4. Press manage repositories
5. Add repository: http://intellij.wixpress.com/
6. Select react-templates from the repository.
7. Press ok and restart the IDEA.
8. Open preferences
9. Go to react-packages plugin
10. Enable the plugin.
11. Configure node
12. Configure react template executable
### enable es6
react templates uses es6 syntax for lambda expressions in event handlers, enable this in the IDE:
2014-12-10 09:05:04 +01:00
![ES6 in intellij](https://raw.githubusercontent.com/wix/react-templates/gh-pages/docs/intellij-es6.png "ES6 in intellij")