Klives
Klives
NNuxt
Created by Klives on 9/2/2024 in #❓・help
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);
});
}

setup(props, context){
this.children.forEach(element => { console.log(element.horizontalGrids);
});
}
Thanks in advance
3 replies