Expand my Community achievements bar.

Aem responsive grid in angualr spa

Avatar

Level 3

I am trying to develop a container component in angular spa

 

I have tried including <aem-responsovegrid> inside html to add a layout container

 

But it is not working and throwing an error ngmodule is not defined.

 

Could please help with what needs to add as a dependency in ts files to make it work

 

@arunpatidar  

3 Replies

Avatar

Level 3

Hi @arunpatidar ,

Thanks for the input . I have added the dependency in my package.json file.
I am able to render the aem-container on the page, but couldnt get the layout on the page.

below is the inspect element rendered on the page,
<aem-container  data-cq-data-path="" class="aem-container"><!----><!----></aem-container>


In angular html file i have used <aem-container></aem-container>

Do i need to pass any attributes to above snippet?