stackbit / gatsby-plugin-menus

Gatsby plugin for site menus
MIT License
9 stars 6 forks source link

How to query the menus #7

Closed richardrobberse closed 4 years ago

richardrobberse commented 4 years ago

I've followed the readme, added a simple menus property to the frontmatter and now I'm at the point where I want to query the menus. However, the query as listed in the readme is not valid and I can't find the 'menus' type at all.

Any ideas?

richardrobberse commented 4 years ago

Nevermind, the menus reside within sitePage\context. It would've saved me a lot of time if it was noted in the docs ;)

remotesynth commented 4 years ago

Thanks for the feedback. The docs definitely need updating and I've added a task to do this.