Closed angeloashmore closed 1 year ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
65b0e7f
) 92.67% compared to head (e67132c
) 98.00%.
: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 adds support for Prismic previews in SvelteKit. It adds a
@prismicio/svelte/kit
entry, which provides components and helpers to support previews.<PrismicPreview>
: Renders the Prismic toolbar and adds SvelteKit-specific preview event handlers to update page data.enableAutoPreviews()
: Configures a Prismic client to support SvelteKit-style previews.redirectToPreviewURL()
: Creates aResponse
object to redirect a content writer to a previewed document.Documentation on
@prismicio/svelte/kit
will be available soon.Checklist:
🦑