turbo-vite-sveltekit-shadcn-starter Svelte Themes

Turbo Vite Sveltekit Shadcn Starter

Starter code for using turborepo with vite, sveltekit, and shadcn with tailwindcss

Turborepo SvelteKit, Vite, shadcn-svelte starter kit

Turborepo starter kit for SvelteKit, alongside Vite and shadcn-svelte right out of the box.

Getting Started

Install dependencies

Once cloned, use the following command to install dependencies:

pnpm install

Run the app

Use the following command to run the monorepo:

pnpm dev

Adding UI components from shadcn

Use the pre-made script:

pnpm ui:add <component-name>

This works the same to shadcn-svelte CLI but the components will be created inside @repo/ui package to reuse components across different apps in your monorepo.

What's inside?

This repo includes the following packages/apps:

Apps and Packages

  • 🌐 web: A SvelteKit app
  • 🌐 docs: A Vite app
  • 🎨 @repo/ui: A svelte component library powered by shadcn-svelte 🔥🚀
  • ⚙️ @repo/eslint-config: eslint configurations (includes svelte-eslint-parser and eslint-config-prettier)

Each package/app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Top categories

Loading Svelte Themes