svelte-ui-template

Simple skeleton project for sveltekit using:

Getting started

I will be using bun for this project. pnpm, npm etc. should also work.

Clone this project.

# clone this repo
git clone https://github.com/MBeggiato/svelte-ui-template.git

# install dependencies
bun install

Developing

Once you've installed all modules, run the following to spin up the development:

bun dev

# or start the server and open the app in a new browser tab
bun dev -- --open

Adding shadcn components

If you want to add components from shadcn-svelte you can do so with the following command:

bunx shadcn-svelte@latest add <component >

# example
bunx shadcn-svelte@latest add accordion

For all available components check this page.

Building

To create a production version of your app:

bun build

Resources

Usefull links:
https://www.shadcn-svelte.com/docs
https://tailwindcss.com/docs/
https://www.skeleton.dev/components/accordions

License

Licensed under the MIT license.

Top categories

Loading Svelte Themes