sveltekit-typescript-tailwind-storybook Svelte Themes

Sveltekit Typescript Tailwind Storybook

Killer combination ++

svelte/kit + typescript + tailwind + storybook

A baked version of babichjacob/svelte-add-tailwindcss combined with jerriclynsjohn/svelte-storybook-tailwind

// Quickstart

npx degit pixelscript/sveltekit-typescript-tailwind-storybook my-svelte-project
cd my-svelte-project

# important to do - npm ic - otherwise you'll get root.js: NOT_FOUND error
npm ic
npm run dev
npm run stories

Building

Svelte apps are built with adapters, which optimise your project for deployment to different environments, like Begin, Netlify, Vercel and so on. (You can also create your own adapter — instructions TODO.)

By default, npm run build will generate a Node app that you can run with node build. To use a different adapter, install it and update your svelte.config.js accordingly. The following official adapters are available:

Top categories

Loading Svelte Themes