sveltekit-tailwindcss-template Svelte Themes

Sveltekit Tailwindcss Template

A simple template with Sveltekit, tailwindcss, typescript, prettier and eslint.

sveltekit-tailwindcss-template

A simple skeleton page that saves a ton of time in setting up Svelte, SvelteKit and Tailwindcss.

I found most templates were not updated to SvelteKit 1.0 and there were a few manual steps I kept repeating while setting up tailwind 3 for Sveltekit and typescript. This repo is a solution to that problem.

Creating a project

Click the Use Template button on this repo's page on github to create a new project based on this template. That is the easiest way. You can clone this repo or use npx degit as well.

# create a copy from github repo
npx degit idheepan/sveltekit-tailwindcss-template

# install dependencies
npm install

# open page in a new browser
npm run dev -- --open

# build app for deployment
npm build

To deploy your app, you may need to install an adapter for your target environment.

Top categories

Loading Svelte Themes