Navigation Migration
This guide explains how to migrate existing configurations that used topNavigation, sidebar and
customPages to the new unified navigation configuration introduced in vNEXT.
Overview
Navigation is now configured through a single navigation array. Items at the root level become top
navigation tabs, while nested categories automatically form the sidebar. Custom pages are added
using the custom-page item type.
Before and After
Before
After
Migration steps
-
Create a
navigationarrayMove all items from
topNavigationand your sidebar into a newnavigationarray. -
Convert custom pages
Replace entries in
customPageswithtype: "custom-page"items insidenavigation. -
Update plugin configs
Replace all uses of
navigationIdwithpathin plugin options likeapisorcatalogs. Navigation items of typelinkshould use thetoproperty to reference the path of the API or catalog. -
Reference plugin paths in navigation
Items produced by plugins are not added automatically. Add links or categories in your
navigationso users can access them.