Every component has other components in it and they are dependencies.

For example, the grid component uses the button, pager, tree and many more files internally and they should be imported also.

In the modules folder, the smart-grid.js import all the required dependencies and exports the grid.

To avoid errors, import components from the modules folder.

Best Regards,
Svetoslav Borislavov

Smart UI Team