Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Aem responsive grid in angualr spa


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



3 Replies


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?