Base
WebSvelte

Svelte - Getting Started

npx degit sveltejs/template <project_name>
cd <project_name>
 
npm i
npm run dev

reference: svelte.dev

sveltekit (beta)

mkdir <app_name>
cd <app_name>
npm init svelte@next
 
# install dependencies
npm install
 
# start dev server and open a browser tab
npm run dev -- --open

reference: https://kit.svelte.dev/

@vitejs/app

npm init @vitejs/app [app_name] --template svelte 

TypeScript

npm init @vitejs/app [app_name] --template svelte-ts 

references:

create-snowpack-app

npx create-snowpack-app <app_name> --template @snowpack/app-template-svelte-typescript [--use-yarn | --use-pnpm | --no-install]
npx create-snowpack-app <app_name> --template @snowpack/app-template-svelte

references:

On this page