This is a project template for Svelte Typescript apps.
- Svelte
- UI Library: attractions
- Testing library: Playwright
- Git hooks: husky
To create a new project based on this template using degit:
npx degit don-wang/svelte-typescript-template svelte-app
cd svelte-app
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
# to enable git hooks
npm run prepare
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building To create a production version of your app:
npm run build