Closed angeloashmore closed 1 year ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
b88da24
) 98.00% compared to head (776b359
) 98.00%.:exclamation: Current head 776b359 differs from pull request most recent head 2508778. Consider uploading reports for the commit 2508778 to get more accurate results
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Types of changes
Description
This PR updates the existing
@prismicio/svelte/kit
preview functions and components to support a new, cleaner method of integrating Prismic previews.redirectToPreviewURL()
now prefixes routes with/preview/
(configurable), which enables server rendering.<PrismicPreview>
now adds a special navigation handler to prefix links with/preview/
(configurable), which enables server rendering.Documentation on the recommended SvelteKit app setup and
@prismicio/svelte/kit
's API will be published soon.Checklist: