An instance method of the Makeswift client that fetches a snapshot of a Makeswift page at a given path. This snapshot is only intended to be rendered by the <Page> component.
The path of the page.
Options for site version and locale.
For App Router, this is the return value from calling getSiteVersion. For Pages Router, this is the return value from Makeswift.getSiteVersion.
A valid locale string (ex. "en-US").
Controls whether a request for a localized page should fallback to the default locale if the requested locale is not available.
An opaque Snapshot object that is only intended to be rendered by the
<Page> component.
The following example sets up a catch all route where page snapshots are fetched from Makeswift and rendered using the <Page> component.
The following example uses the locale param in getStaticProps to fetch a localized snapshot of a page.