This template adapted from svelte-ts should help get you started developing with Svelte, TypeScript and Tailwind in Vite.
Create a new project based on this template using degit:
npx degit MichalUSER/svelte-ts-tailwind svelte-app
cd svelte-app
Install the dependencies using npm or pnpm
npm install
# or
pnpm install
then start dev server
npm run dev
# or
pnpm dev
To create a production version of your app:
npm run build
# or
pnpm build
You can preview the production build with npm run preview
.