Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultje52/sveltekit-template
My Sveltekit template (using NodeJS and Vite)
https://github.com/paultje52/sveltekit-template
Last synced: about 2 months ago
JSON representation
My Sveltekit template (using NodeJS and Vite)
- Host: GitHub
- URL: https://github.com/paultje52/sveltekit-template
- Owner: Paultje52
- License: mit
- Created: 2023-10-31T10:12:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-20T07:03:14.000Z (12 months ago)
- Last Synced: 2024-01-20T08:51:22.546Z (12 months ago)
- Language: TypeScript
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sveltekit-template
My Sveltekit template (using [NodeJS](https://nodejs.org) and [Yarn](https://yarnpkg.com/)). This template includes [PicoCSS](https://picocss.com/) and [Prisma](https://prisma.io/). It's built using [Vite](https://vitejs.dev/).
## .env
Rename `.env.example` to `.env` and fill in the environment variables.
## Scripts
This template includes the dev server, building, prettier, eslint and svelte-check. You can use the following yarn scripts.
- `yarn dev`
- `yarn build`
- `yarn start` (requires `yarn build`)
- Prettier: `yarn format` and `yarn format:fix`
- Eslint: `yarn lint` and `yarn lint:fix`
- Svelte-check: `yarn svelte:check`
- Svelte-kit syncing: `yarn svelte:sync`
- For [prisma commands](https://www.prisma.io/docs/reference/api-reference/command-reference), just put `yarn` before it (`yarn prisma format` for example).## PWA
This template is PWA-ready. Fill in the blanks in `static/manifest.json` and add the following icons in the folder `static/icon`.
- logo.webp (256x256)
- logo.png (256x256)
- favicon.ico## Other files to change
- Change `package.json` with your projects name
- Change the title and theme-color in `src/app.html`
- Change the theme_color in `static/manifest.json`## PicoCSS
It's possible to change the default colours of PicoCSS. Go to [Pico's customization](https://picocss.com/docs/customization.html), select your favourite colour and paste the `overriding CSS variables` in `static/css.style.css`.