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