prismicio / prismic-svelte

Svelte components and helpers to fetch and present Prismic content
https://prismic.io/docs/technical-reference/prismicio-svelte
Apache License 2.0
21 stars 6 forks source link

feat: SvelteKit previews #14

Closed angeloashmore closed 1 year ago

angeloashmore commented 1 year ago

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.

Documentation on @prismicio/svelte/kit will be available soon.

Checklist:

🦑

codecov-commenter commented 1 year ago

Codecov Report

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.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #14 +/- ## ========================================== + Coverage 92.67% 98.00% +5.32% ========================================== Files 11 11 Lines 601 601 ========================================== + Hits 557 589 +32 + Misses 44 12 -32 ``` [see 3 files with indirect coverage changes](https://app.codecov.io/gh/prismicio/prismic-svelte/pull/14/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=prismicio)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.