My Sveltekit template (using NodeJS and Yarn). This template includes PicoCSS and Prisma. It's built using Vite.
Rename .env.example
to .env
and fill in the environment variables.
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
)yarn format
and yarn format:fix
yarn lint
and yarn lint:fix
yarn svelte:check
yarn svelte:sync
yarn
before it (yarn prisma format
for example).This template is PWA-ready. Fill in the blanks in static/manifest.json
and add the following icons in the folder static/icon
.
package.json
with your projects namesrc/app.html
static/manifest.json
It's possible to change the default colours of PicoCSS. Go to Pico's customization, select your favourite colour and paste the overriding CSS variables
in static/css.style.css
.