The repository of platform-supported widgets and modules for Mendix.
For issues and bugs related to CSS, Widgets, Atlas, JS Actions, or this repository, please contact Mendix Support
- Clone the repo.
$ git clone https://github.com/mendix/web-widgets.git
- Install the dependencies.
$ cd web-widgets
$ pnpm install
- Go to the widget (package) you want to work on, set
MX_PROJECT_PATH
, and runpnpm start
.
$ cd packages/pluggableWidgets/datagrid-web/
# Mac and Linux:
$ export MX_PROJECT_PATH="$HOME/Documents/Mendix/DataBoardApp"
# For Windows (PowerShell):
# $env:MX_PROJECT_PATH = 'C:\Users\Tom\Documents\Mendix\DataBoardApp'
$ pnpm start
-
Go to Mendix Studio Pro and run
App>Synchronize App Directory
to update the widget code in the project. If your app is already running, restart it. -
Keep code clean: run
pnpm test
andpnpm lint
.
$ pnpm lint
...
$ pnpm test
Note: run pnpm test --watch
to start unit tests in watch mode.
See CONTRIBUTING.md.
- We encourage everyone to open a support ticket through Mendix Support in case of problems with widgets or scaffolding tools (Pluggable Widgets Generator or Pluggable Widgets Tools).