Hi!
This is the bare bones documentation for my npm package
@eirikk/sveltekit-stuff.
It mostly has things I tend to re-implement for every SvelteKit-project I work on.
It also happens to have things I use with tailwind.
Getting Started
Install with:
npm i @eirikk/sveltekit-stuff
or
pnpm i @eirikk/sveltekit-stuff
or
yarn add @eirikk/sveltekit-stuff
Usage
Everything is exported from root and can be imported from @eirikk/sveltekit-stuff.
I dunno how good tree-shaking is these days, so if you want to be absolutely sure you only bundle
exactly what you want, use the longest import path possible behind @eirikk/sveltekit-stuff/dist like so:
Examples:
import rotate from '@eirikk/sveltekit-stuff/dist/transition/rotate'
import Breakpoints from '@eirikk/sveltekit-stuff/dist/components/Breakpoints.svelte'
and so on for /types, /action and
/util