Yeoman generator for Mendix widgets using react, typescript and webpack.
This generator uses the Yeoman scaffolding tool to let you quickly create a [Mendix widget] that uses react, typescript and webpack
First, you need to have Node.js installed. (We recommend a 4.x LTS version, the widget is tested against version 4 to 6). After that, you need to install Yeoman .
Open a command-line window (Press Win+R and type cmd
or use Powershell)
npm install -g yo grunt-cli
npm link
Scaffold a widget
yo mendixreact
The following information needs to be provided about your widget:
- name
- description
- copyright
- license
- version
- author
- Github username (optional)
You can press <Enter> if you want to use the default values.
webpack
grunt build