React-Templates Light weight templates for React. see more here.
React-Templates plugin for WebStorm, PHPStorm and other Idea family IDE, provides integration with React-Templates and shows errors and warnings inside the editor.
Install react-templates npm package react-templates npm:
$ cd <project path>
$ npm install react-templates
Or, install react-templates globally:
$ npm install -g react-templates
To get started, you need to set the react-templates plugin settings:
<project path>node_modules/react-templates/bin/rt.js
if you installed locally or /usr/local/bin/rt
if you installed globally.
C:\Users\<username>\AppData\Roaming\npm\rt.cmd
Configuration:
New RT File:
RT Attributes completion:
RT Attributes quick docs:
react-templates plugin uses the code from here as a module, to run the project you need to clone that project as well.
git clone [email protected]:idok/react-templates-plugin.git
git clone [email protected]:idok/intellij-common.git