Update for 2023: Don't use this anymore. Storybook 7 is in beta and works great with SvelteKit 1.0 out of the box!
This is an example repository showing the workarounds needed to get Storybook working well with SvelteKit as of July 2021.
SvelteKit is still changing as of this writing and Storybook is constantly releasing new versions, so I do not recommend forking this code as it may be out of date by the time you see it.
Instead, I recommend these steps:
npm init svelte@next my-app
cd my-app && npx sb init
npm install --save-dev @storybook/builder-webpack5 @storybook/manager-webpack5
.storybook/main.cjs matches the one you want in
I've detailed the full process on my website.