sv create
sv create
sets up a new SvelteKit project, with options to setup additional functionality.
Usage
npx sv create [options] [path]
Options
--template <name>
Which project template to use:
minimal
— barebones scaffolding for your new appdemo
— showcase app with a word guessing game that works without JavaScriptlibrary
— template for a Svelte library, set up withsvelte-package
--types <option>
Whether and how to add typechecking to the project:
ts
— default to.ts
files and uselang="ts"
for.svelte
componentsjsdoc
— use JSDoc syntax for types
--no-types
Prevent typechecking from being added. Not recommended!
--no-add-ons
Run the command without the interactive add-ons prompt
--no-install
Skip dependency installation