Aem responsive grid in angualr spa | Community
Skip to main content
bsr060893
Level 3
March 14, 2023

Aem responsive grid in angualr spa

  • March 14, 2023
  • 1 reply
  • 954 views

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  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
March 14, 2023
bsr060893
bsr060893Author
Level 3
March 15, 2023

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?