Search.../

pages

Returns the names of the pages associated with this router.

Description

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

Type:

Array<string>Read Only

Was this helpful?

Get the names of the pages associated with this router

Copy Code
1export function myRouter_SiteMap(sitemapRequest) {
2
3 let pages = sitemapRequest.pages;
4 // ["myRouter-page1", "myRouter-page2"]
5
6}