Change me!

When you change a source file, Contentlayer automatically updates the content cache, which prompts Svelte to reload the content on screen (in dev mode).


Back to Home

Contentlayer is a fast and easy content SDK that validates and transforms the markdown content into type-safe JSON.

GitHub Repository, have a look into /src/routes/posts/[slug]/+page.ts line 13 and +page.svelte line 15.