Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

svelte typescript

Pure Svelte  + TypeScript
npx degit sveltejs/template my-svelte-ts-app
cd my-svelte-ts-app
node scripts/setupTypeScript.js

or install Sveltekit and enable TypeScript when it asks
npm init svelte@next my-app
cd my-app
npm install
npm run dev -- --open
Source by svelte.dev #
 
PREVIOUS NEXT
Tagged: #svelte #typescript
ADD COMMENT
Topic
Name
3+6 =