Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/garraflavatra/sveltekit-template
- Owner: garraflavatra
- License: mit
- Created: 2021-10-31T15:44:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-17T15:15:18.000Z (over 2 years ago)
- Last Synced: 2023-03-07T15:18:05.799Z (over 1 year ago)
- Topics: svelte, sveltekit
- Language: JavaScript
- Homepage:
- Size: 749 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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