svelte-tailwindCSS

Svelte Tailwindcss

Example of setting up Svelte with TailwindCSS

Svelte + TailwindCSS Example

Basic template for integration of Tailwind CSS with Svelte JS. Designed to be used for a single page application (SPA).

If you need server side rendering (SSR) then consider Sapper - I've also made a tempalate for this, visit sapper-tailwind-firebase-host.

Features

  • Dark/Light Theme Example using CSS variables
  • Hash based routing from svelte-spa-router

Installation instructions

Simply clone the repo via degit and have a blast!

npx degit Yarrney/svelte-tailwindCSS

Example

Check out this example if you want to see what it looks like!

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes