Wrap Angular component into a Widget

Something is unclear to me, your website quotes: “Widgets allow you to extend your Mendix application using JavaScript and utilize any JavaScript library you require such as: React, Angular, Dojo or D3." Does that mean that you can take an Angular component, and wrap it in a widget so it can be used in a Mendix app? Thank you!
1 answers

Yes you can,

You even can wrap an entire React/Angular project inside a widget.

You first need to set up a new pluggable widget (yo @mendix/widget myWidgetsName)

then inside the widget file you can just import and use any library you install in your node_modules folder.