A Yeoman generator for ExtReact apps
npm install @extjs/generator-ext-reactFirst, install Yeoman and @extjs/generator-ext-react using npm (we assume you have pre-installed node.js).
``bash`
npm install -g yo @extjs/generator-ext-react
If you haven't already, log into Sencha's private registry using the credentials you received in your ExtReact trial or subscription activation email. If you don't have credentials, you can get them by signing up for a trial of ExtReact.
``
npm login --registry=http://npm.sencha.com --scope=@extjs
Then, to create a new ExtReact app, run:
`bash`
yo @extjs/ext-react
The app that is generated is based on the ExtReact Boilerplate.
To make changes to the generator, run:
``
git clone git@github.com:sencha/extjs-reactor.git
cd extjs-reactor
npm install
cd packages/generator-ext-react
npm link
Now yo @extjs/ext-react` will use your local copy of the generator.
MIT © [Sencha, Inc.]()