A new site

How I rebuilt this site with SvelteKit, Tailwind CSS, MDsveX, and Cloudflare Workers.

1 min branja

  • Svelte
  • Web
  • Meta

ArhiviranoTa članek je arhiviran. Ostaja tu, da povezave še delujejo, vendar je morda zastarel.

ENTa članek je na voljo samo v angleščini.

I launched this site today. I had postponed the work for far too long, but it is finally online.

Jokull Solberg wrote about the original setup in his SvelteKit blog post. I had started assembling a similar stack when I found his repository. It already did what I needed, so I forked it and made my version.

The new site replaces Gatsby and React with SvelteKit. It uses Tailwind CSS for styling, Cloudflare Workers for hosting, and MDsveX for articles.

Publishing a post takes three steps.

  1. Write the article in Markdown.
  2. Build the site.
npm run build
  1. Publish it.
wrangler publish

That small workflow makes writing here enjoyable again.

SvelteKit development machine