pages


pagesArray<string>Read-only

Returns the names of the pages associated with this router.

Pages are added and removed from a router in the Editor.

Get the names of the pages associated with this router
JavaScript
export function myRouter_SiteMap(sitemapRequest) { let pages = sitemapRequest.pages; // ["myRouter-page1", "myRouter-page2"] }
Did this help?