Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbeggiato/svelte-ui-template

Simple svelte kit template project using multiple ui frameworks.
https://github.com/mbeggiato/svelte-ui-template

bun shadcn-ui skeleton svelte sveltekit sveltekit-template tailwindcss template ui ui-components

Last synced: about 2 months ago
JSON representation

Simple svelte kit template project using multiple ui frameworks.

Awesome Lists containing this project

README

        



svelte-ui-template

Simple skeleton project for sveltekit using:

- [tailwind](https://tailwindcss.com)
- [skeleton](https://github.com/skeletonlabs/skeleton)
- [shadcn-svelte](https://github.com/huntabyte/shadcn-svelte)

## Getting started
I will be using [bun](https://bun.sh) for this project. pnpm, npm etc. should also work.

Clone this project.
```bash
# 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:

```bash
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](https://github.com/huntabyte/shadcn-svelte) you can do so with the following command:

```bash
bunx shadcn-svelte@latest add

# example
bunx shadcn-svelte@latest add accordion
```

For all available components check [this](https://www.shadcn-svelte.com/docs/components/) page.

## Building

To create a production version of your app:

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