Composables

Menus

Generated composables to fetch Menus
const { 
data
:
mainMenu
} =
useWPMenu
()
const {
data
:
footerMenu
} = await
useWPMenu
({
name
: 'footer' })

if you don't specify a menu name, then WPNuxt will try to fetch the menu with name "main"


Copyright © 2024 WPNuxt