Add WordPress menus to your Vue application
- Web Application Development
Categories
It has been a year since I released the VueJS WordPress Theme Starter as an open source project and it has been a huge success with over 700 stars on GitHub. I had no idea it would help as many people as it has and I’m so thankful!
From very early on in the life of the project one of the biggest requests I’ve received was to add support for WordPress menus in the starter. This was challenging because at this point it requires a plugin (or at least custom code) in order for the menu data to be available via the API and my goal for the project was to keep it as a starter and as un-opinionated as possible.
So, for those of you looking to add WordPress controlled menus into your Vue application, here is a quick tutorial on how to do so.
1130 Views