Got the map showing on the page

The issue was with style.less missing the css for class main-container.
After adding the css for this class in the css.less file the map showd up.