svendistoje

Svendistoje

A template for a Svelte/WindiCSS/Storybook/Jest project in Typescript

Svelte, WindiCSS, Storybook, Jest & TypeScript

Based on the template https://github.com/munxar/svendi.

Contains a fully functional starter with Svelte, Svelte-i18n, WindiCSS & Typescript, and some more or less useful widgets. Use npm run storybook to display them.

Prerequisites:

Node 16 (Storybook launch will not work with 17)

Install

npx degit rgwch/svendistoje#main my-app
cd my-app
npm i

Develop

npm run dev

(And navigate to http://localhost:3000)

Build for Production and launch

npm run build
npm start

Generate translations

npm run i18n

Note: Will use src/services/i18n/de.json as base to synchronize the other defined language files

Run Jest

npm test

Run Jest and watch continuously

npm run test:watch

(Re-runs tests after each change)

Run Storybook

npm run storybook

Top categories

Loading Svelte Themes