Felt Template

a web app template with SvelteKit, Gro, and Felt

svelte logo

Want a Svelte site built?

Hire a Svelte developer

felt-template

a static web app and Node library template with SvelteKit, Felt, and Gro

deployed: template.felt.dev

contents

usage

Windows is not yet supported (we recommend WSL)

If you're logged into GitHub, click "Use this template" above or clone with degit:

npx degit feltcoop/felt-template cooltoy
cd cooltoy
npm i
# then
npm run dev
# or
gro dev # npm i -g @feltcoop/gro

learn more about SvelteKit, Vite, Gro, and Felt

The template includes @sveltejs/adapter-static so it can deploy with no further configuration. To learn how to swap it out for another deployment target, see the SvelteKit adapter docs.

To make it your own, change felt-template and template.felt.dev to your project name in the following files:

Then run npm i to update package-lock.json.

Optionally add a license file and package.json value, like "license": "MIT".

See SvelteKit, Vite, Gro, and Felt for more.

build

npm run build
# or
gro build

test

For more see uvu and src/lib/example.test.ts

gro test
gro test filepattern1 filepatternB
gro test -- uvu --forwarded_args 'to uvu'

deploy

Deploy (build, commit, and push) to the deploy branch, e.g. for GitHub Pages:

npm run deploy
# or
gro deploy

credits 🐢🐢🐢

SvelteSvelteKitViteesbuilduvuTypeScriptESLintPrettierFeltGro & more

🐦

Get New Themes & Resources

Loading Svelte Themes