sveltekit-graphcms-starter-blog Svelte Themes

Sveltekit Graphcms Starter Blog

SvelteKit starter blog with GraphCMS

SvelteKit GraphCMS starter blog

This starter shows how to use the SvelteKit with GraphCMS. It uses graphql-request and GraphCMS for the backend.

Demo

How to Use

See the introductory blog post on getting started building out this project.

You'll need a GraphCMS account and the Blog Starter created, get the endpoint from the "API Access" section in the project settings, check the "Content from stage Published" checkbox for access.

Rename the sample.env file to .env and add your endpoint:

VITE_GRAPHCMS_URL=your-endpoint-here

Add the VITE_GRAPHCMS_URL variable and endpoint to the "Environment Variables" section of the Vercel project.

Download Manually

npx degit https://github.com/spences10/sveltekit-graphcms-starter-blog sveltekit-graphcms-starter-blog

Install & Run:

cd sveltekit-graphcms-starter-blog
npm install
npm run dev -- --open

Top categories

Loading Svelte Themes