{"id":24502955,"url":"https://github.com/reecem/svelte-slicezone","last_synced_at":"2025-07-20T16:04:30.094Z","repository":{"id":66352907,"uuid":"441756881","full_name":"ReeceM/svelte-slicezone","owner":"ReeceM","description":"SvelteKit Slicezone handler for Prismic SliceMachine","archived":false,"fork":false,"pushed_at":"2021-12-26T18:26:14.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T08:38:17.015Z","etag":null,"topics":["prismicio","slicemachine","slicezone","sveltekit"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReeceM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T20:54:07.000Z","updated_at":"2022-01-21T04:26:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"80f66f7a-142b-453d-8242-c5e448ca2aff","html_url":"https://github.com/ReeceM/svelte-slicezone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ReeceM/svelte-slicezone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fsvelte-slicezone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fsvelte-slicezone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fsvelte-slicezone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fsvelte-slicezone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReeceM","download_url":"https://codeload.github.com/ReeceM/svelte-slicezone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReeceM%2Fsvelte-slicezone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266152278,"owners_count":23884479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prismicio","slicemachine","slicezone","sveltekit"],"created_at":"2025-01-21T23:14:37.606Z","updated_at":"2025-07-20T16:04:30.077Z","avatar_url":"https://github.com/ReeceM.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Slicezone\n\nThis is a slice zone component for Prismic.\n\nThe current component makes the current assumptions:\n\nThere is a document that is passed that has a `slices` key:\n\n```js\n{\n\t// other keys\n\tslices: []\n}\n```\n\nTo use the SliceZone and resolver.\n\n```html\n\u003cscript\u003e\n\timport { SliceZone, SliceResolver } from '@reecem/svelte-slicezone';\n\n\t// Load the index listing of slices.\n\timport * as Slices from '$lib/slices';\n\t// this is the list of slices to provide.\n\t// you can add others from other libs\n\tconst allSlices = { ...Slices, /** ...anotherList */ };\n\u003c/script\u003e\n\n\u003c!-- This is the slicezone. The resolver can be overridden, but not really needed. --\u003e\n\u003cSliceZone\n\t{...document}\n\t{allSlices}\n\tresolver={SliceResolver}\n/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecem%2Fsvelte-slicezone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freecem%2Fsvelte-slicezone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freecem%2Fsvelte-slicezone/lists"}