Skip to content

What is the best way to get all valid paths for a website? #1037

Discussion options

You must be logged in to vote

What's your use case?

I believe you should be able to access pageContext._pageRoutes but note that this is internal and there is therefore no guarentee that it won't break at any (minor) version update.

(FYI some sponsors use internal APIs while their use case is included in VPS's CI ensuring that no release breaks their app without us knowing it beforehand.)

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@brillout
Comment options

@StanleyDing

This comment was marked as off-topic.

@brillout

This comment was marked as off-topic.

@StanleyDing

This comment was marked as off-topic.

@brillout

This comment was marked as off-topic.

Answer selected by brillout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants