Get Started with Svelte
This guide will teach you how to make a web app with Svelte and Prismic.
If you want to jump right in, proceed to the Install step:
Curious about pricing? Prismic has an unlimited free tier for projects with one user. To learn more, see our pricing page:
What technical skills do I need?
If a developer is setting up Prismic for you: You won't need any technical knowledge. Prismic is designed to be used by anyone.
Why should I use Prismic with Svelte?
Every great website starts with great content.
Svelte has great tools for managing every part of your website (Scoped styles! Transitions! Reactivity! Layouts!). But, it doesn't have a way to manage content.
The most important part of your website (the reason you have a website) deserves a tool.
Prismic is the tool for your content. What's more, Prismic is designed to integrate smoothly with Svelte, with a logical content architecture that maps directly to Svelte's routes and components.
Plus, Prismic adds some super-powers to your website, like image optimization, content versioning, scheduling, and user permissions.
Is this guide for Svelte or SvelteKit?
This guide includes instructions for both Svelte and SvelteKit. It does not provide instructions for other Svelte-based web app development frameworks like Elder.js or Sapper, but the basic Svelte instructions will serve those frameworks.
The guide treats SvelteKit as a natural add-on to Svelte. For example, if you're building an SPA with Svelte, you can use client-side fetching as described in "Fetch Data." But, if you add server-side rendering with SvelteKit, we also describe how to do server-side fetching.
Does Prismic have a Svelte plugin?
Prismic's Svelte plugin is under active development. If you'd like to contribute or test it when it's ready, you can see it on GitHub.
Have a question or comment?
This documentation is still in beta. If you have ideas for how to improve it, we'd love to hear from you on the Prismic Community Forum.
Five steps to get started
This guide will walk you through six steps to deploying your website and creating content.
Here's what we'll go over:
Was this article helpful?
Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.