Grid UI component

Grid ui component in magento 2

In the file layout app/code/Mageoneplus/Rewardcredit/view/adminhtml/layout/rewardcredit_earningrules_index.xml, you can call a file ui component instead block [...]

How to creat a grid page in magento 2

Like the magento 1, you need to register a router by creating the file app/code/Mageoneplus/Rewardcredit/etc/adminhtml/routes.xml <?xml [...]