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(tsx)
After(tsx)
Migration steps
-
Create a
navigation
arrayMove all items from
topNavigation
and your sidebar into a newnavigation
array. -
Convert custom pages
Replace entries in
customPages
withtype: "custom-page"
items insidenavigation
. -
Update plugin configs
Replace all uses of
navigationId
withpath
in plugin options likeapis
orcatalogs
. Navigation items of typelink
should use theto
property 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
navigation
so users can access them.