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
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: