The past few days I've been playing with Svelte and SvelteKit to rebuild my blog.
Some things I figured out:
- SvelteKit uses Snowpack
- SvelteKit has a generator for static sites
svelte-kit adapt --verbose
- 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
Member discussion: