sapper-tailwindcss-starter-minimal Tailwind Templates

Sapper Tailwindcss Starter Minimal

The official Sapper template with the bare minimum changes to use tailwindcss

sapper-tailwindcss-starter-minimal template

The purpose of this template is to keep it as close to the original Sapper template as possible

@apply can be used in both css files and .svelte style tags.

#to install
npx degit "jakobrosenberg/sapper-tailwindcss-starter-minimal" my-app
cd my-app
npm install # or yarn!
npm run dev

Open up localhost:3000 and start clicking around.

Consult sapper.svelte.dev for help getting started.

There's no purgecss. Instructions may be added.

To enable more plugins, simply install depencies and extend postcssPlugins

const postcssPlugins = [
    require("postcss-import")(),
    require("postcss-url")(),
    require("tailwindcss")("./tailwind.config.js"),
    require("autoprefixer")({ browsersList: ["defaults"] })
    ...
]

Top categories

Loading Svelte Themes