Skip to content

Mendix Platform supported widgets and modules for web

License

Notifications You must be signed in to change notification settings

mendix/web-widgets

Repository files navigation

Web widgets

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

Prerequisites

Development

  1. Clone the repo.
$ git clone https://github.com/mendix/web-widgets.git
  1. Install the dependencies.
$ cd web-widgets
$ pnpm install
  1. Go to the widget (package) you want to work on, set MX_PROJECT_PATH, and run pnpm 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
  1. 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.

  2. Keep code clean: run pnpm test and pnpm lint.

$ pnpm lint
...
$ pnpm test

Note: run pnpm test --watch to start unit tests in watch mode.

Contributing

See CONTRIBUTING.md.

Raising problems/issues

  • 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).