OpenUi5 Grid - Implement in Spfx Webpart - Error

Copper Contributor

Hi

 I am working in sharepoint online 2019 List. I am working in spfx webpart.I need to customise AllItems Page.So I need to integrate openui5 in spfx webpart. When i try to import types modules of ui5, i am unable to build the webpart.I am getting the errors like

"Cannot find module",

"index.d.ts is not a module like that".

Can anyone please help me with the sample code how to implement openui5 (grid) in webpart.

I am using No JavaScript framework webpart.

 

I tried installing below items,

npm install @openui5/sap.ui.core
npm install @openui5/sap.ui.table
npm install @sapui5/ts-types --save
npm install @openui5/ts-types --save

 

How to include openui5 in import section? Help!:unamused:

 

Thanks

Annamsoft

0 Replies