Turborepo starter kit for SvelteKit, alongside Vite and shadcn-svelte right out of the box.
Once cloned, use the following command to install dependencies:
pnpm install
Use the following command to run the monorepo:
pnpm dev
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.
This repo includes the following packages/apps:
web
: A SvelteKit appdocs
: 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.
This Turborepo has some additional tools already setup for you: