Material UI in Cumulocity IoT

I am trying to use material UI components in React App and publishing it to Cumulocity.

When I run it locally I see the Material UI component.
But somehow when published in Cumulociy I am not able to see the component.

Does Cumulocity support external styling Libraries for styling?

1 Like

Hi,

do you see any error message in your browsers console? any failing request in the network tools?
Ensure that you are setting the baseHref correctly. This can be done by setting the homepage attribute within your package.json as described here: How to host a react application on Cumulocity IoT - #7 by Tristan_Bastian

Regards,
Tristan

Hi Tristan, Thanks for your reply. Unfortunately it does not show me any error. Only the Material UI button I am not able to see in Cumulocity which I see locally.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.