Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/garraflavatra/sveltekit-template

Template for SvelteKit with useful preconfigured tooling.
https://github.com/garraflavatra/sveltekit-template

svelte sveltekit

Last synced: about 13 hours ago
JSON representation

Template for SvelteKit with useful preconfigured tooling.

Awesome Lists containing this project

README

        

# SvelteKit template

Preconfigured SvelteKit template with:

- GitHub Actions for linting, building and CodeQL
- Dependabot
- VS Code configuration files
- `.nvmrc`
- TypeScript support
- [Sass]/SCSS support with [svelte-preprocess]

## Download

Multiple options:

- Use the GitHub template by clicking _Use this template_.
- [Download the tarball].

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev
```

Or start the server and open the app in a new browser tab:

```bash
npm run dev -- --open
```

## Building

Before creating a production version of your app, install an [adapter] for your target environment. Then:

```bash
npm run build
```

You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production; use an adapter instead.

[sass]: https://sass-lang.com
[svelte-preprocess]: https://github.com/sveltejs/svelte-preprocess
[download the tarball]: https://github.com/garraflavatra/sveltekit-template/tarball/main
[adapter]: https://kit.svelte.dev/docs#adapters