NuxtN
Nuxt16mo ago
Klives

How to iterate over children of a component?

Hey, I would like to achieve something like this however, I've searched all over and haven't found anything that describes how this is achieved in Nuxt, I'd like to achieve something like this.

setup(props, context){
          this.children.forEach(element   => {              console.log(element.horizontalGrids);
        });
    }


Thanks in advance
Was this page helpful?