Skip to content

Pretty Svelte

February 16th, 2021 - developmentwebit(1 min)

The past few days I’ve been playing with Svelte and SvelteKit to rebuild my blog.

Some things I figured out:

  1. SvelteKit uses Snowpack
  2. SvelteKit has a generator for static sites svelte-kit adapt --verbose
  3. The wildcard stuff is very cute (when it works)

On Wildcards

Well, now I have a bit of a problem.. I have a file [slug].svelte which I call from an index.svelte for a blog. Right now I’m getting an error:

<U5Bslugu5D> was created without expected prop ‘slug’

Nicht gut

Tagged with
All Tags
Share on

A little experiment: